diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-04-14 19:43:35 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-04-14 19:43:35 +0200 |
| commit | b94b9b41f113da17f232a7d1044dedadd87e0c89 (patch) | |
| tree | 3b589c7b3b18e9cf6c9d62339f647aad33609ba5 /src/components/organisms/modals/search-modal.stories.tsx | |
| parent | 70b4e5c311999501cd6eff632ddbcac6e75ff035 (diff) | |
chore: add a SearchModal component
Diffstat (limited to 'src/components/organisms/modals/search-modal.stories.tsx')
| -rw-r--r-- | src/components/organisms/modals/search-modal.stories.tsx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/components/organisms/modals/search-modal.stories.tsx b/src/components/organisms/modals/search-modal.stories.tsx new file mode 100644 index 0000000..b35c841 --- /dev/null +++ b/src/components/organisms/modals/search-modal.stories.tsx @@ -0,0 +1,16 @@ +import { ComponentMeta, ComponentStory } from '@storybook/react'; +import { IntlProvider } from 'react-intl'; +import SearchModalComponent from './search-modal'; + +export default { + title: 'Organisms/Modals', + component: SearchModalComponent, +} as ComponentMeta<typeof SearchModalComponent>; + +const Template: ComponentStory<typeof SearchModalComponent> = (args) => ( + <IntlProvider locale="en"> + <SearchModalComponent {...args} /> + </IntlProvider> +); + +export const SearchModal = Template.bind({}); |
