Skip to content

Commit bb34313

Browse files
authored
Merge pull request #23 from input-output-hk/fix/storybook-decorators-default
fix: add decorators default value
2 parents c1eb3d2 + 2a64d24 commit bb34313

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/design-system/decorators/color-schema/color-schema.decorator.tsx

+1-5
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@ import * as styles from './color-schema.css';
1010

1111
export const colorSchemaDecorator: DecoratorFunction<ReactFramework> = (
1212
Story,
13-
{
14-
parameters: {
15-
decorators: { layout = 'horizontal' },
16-
},
17-
},
13+
{ parameters: { decorators: { layout = 'horizontal' } = {} } },
1814
) => (
1915
<Flex
2016
className={styles.root}

0 commit comments

Comments
 (0)