aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/modals/search-modal.stories.tsx
blob: b35c84147bd09050bbf96273469bb04556e996ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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({});