You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Layout.stories.jsx 592B

1234567891011121314151617181920
  1. import Layout from './Layout';
  2. import { mockLayoutProps } from './Layout.mock';
  3. const obj = {
  4. title: 'layout/Navbar',
  5. component: Layout,
  6. // More on argTypes: https://storybook.js.org/docs/react/api/argtypes
  7. argTypes: {},
  8. }; //eslint-disable-line
  9. export default obj;
  10. // More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
  11. const Template = (args) => <Layout {...args} />;
  12. export const Base = Template.bind({});
  13. // More on args: https://storybook.js.org/docs/react/writing-stories/args
  14. Base.args = {
  15. ...mockLayoutProps.base,
  16. };