diff --git a/packages/ui/src/components/Flex/Flex.stories.tsx b/packages/ui/src/components/Flex/Flex.stories.tsx index dac4f530c1..7812e47770 100644 --- a/packages/ui/src/components/Flex/Flex.stories.tsx +++ b/packages/ui/src/components/Flex/Flex.stories.tsx @@ -40,7 +40,12 @@ const meta = preview.meta({ args: { children: null }, }); -const DecorativeBox = (props: Omit) => { +const DecorativeBox = ({ + width = '48px', + height = '48px', + style, + ...props +}: Omit) => { const diagonalStripePattern = (() => { const svg = ` @@ -54,9 +59,11 @@ const DecorativeBox = (props: Omit) => { return ( ) => { fontWeight: 'bold', color: '#2563eb', }} - {...props} children={null} /> );