diff options
Diffstat (limited to 'src/components/atoms/icons/cc-by-sa.stories.tsx')
| -rw-r--r-- | src/components/atoms/icons/cc-by-sa.stories.tsx | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/src/components/atoms/icons/cc-by-sa.stories.tsx b/src/components/atoms/icons/cc-by-sa.stories.tsx index 21d6cd5..f2bc8f0 100644 --- a/src/components/atoms/icons/cc-by-sa.stories.tsx +++ b/src/components/atoms/icons/cc-by-sa.stories.tsx @@ -2,8 +2,11 @@ import { ComponentMeta, ComponentStory } from '@storybook/react'; import { IntlProvider } from 'react-intl'; import CCBySAIcon from './cc-by-sa'; +/** + * CC BY SA icon - Storybook Meta + */ export default { - title: 'Atoms/Icons', + title: 'Atoms/Illustrations/Icons', component: CCBySAIcon, argTypes: { className: { @@ -20,12 +23,20 @@ export default { }, }, }, + decorators: [ + (Story) => ( + <IntlProvider locale="en"> + <Story /> + </IntlProvider> + ), + ], } as ComponentMeta<typeof CCBySAIcon>; const Template: ComponentStory<typeof CCBySAIcon> = (args) => ( - <IntlProvider locale="en"> - <CCBySAIcon {...args} /> - </IntlProvider> + <CCBySAIcon {...args} /> ); +/** + * Icons Stories - CC BY SA + */ export const CCBySA = Template.bind({}); |
