From 52f48a0d30afffee1d842be7a9533e6185841ddc Mon Sep 17 00:00:00 2001 From: Sebastien Delanos Date: Fri, 29 Dec 2023 12:06:50 +0100 Subject: [PATCH] fix type for dropdown surtitle --- .../src/components/Dropdown/Surtitle/Surtitle.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front-packages/akeneo-design-system/src/components/Dropdown/Surtitle/Surtitle.tsx b/front-packages/akeneo-design-system/src/components/Dropdown/Surtitle/Surtitle.tsx index 5e300b2a8ef7..22489a16c8f6 100644 --- a/front-packages/akeneo-design-system/src/components/Dropdown/Surtitle/Surtitle.tsx +++ b/front-packages/akeneo-design-system/src/components/Dropdown/Surtitle/Surtitle.tsx @@ -19,7 +19,7 @@ const Title = styled.span` text-overflow: ellipsis; `; -type SurtitleProps = {label: string}; +type SurtitleProps = {label: string, children: React.ReactNode}; const Surtitle: React.FC = ({label, children, ...rest}) => (