blob: aa2e51ec88355bfd5a9a82ef83052928f7fa75fe (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 | import { ComponentMeta, ComponentStory } from '@storybook/react';
import NoResultsComponent from './no-results';
export default {
  title: 'Organisms/Layout',
  component: NoResultsComponent,
  argTypes: {
    searchPage: {
      control: {
        type: 'text',
      },
      description: 'The search results page.',
      type: {
        name: 'string',
        required: true,
      },
    },
  },
} as ComponentMeta<typeof NoResultsComponent>;
const Template: ComponentStory<typeof NoResultsComponent> = (args) => (
  <NoResultsComponent {...args} />
);
export const NoResults = Template.bind({});
NoResults.args = {
  searchPage: '#',
};
 |