How to use @storybook/addon-storysource - 1 common examples

To help you get started, weโ€™ve selected a few @storybook/addon-storysource examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github strapi / buffet / buffet / stories / Combined / Table.stories.js View on Github external
email: '',
    id: 2,
    provider: 'local',
    username: 'jimminy',

function Example() {
  return (
    <Table headers={headers} rows={rows} />

storiesOf('Custom|Table', module)
  .add('Simple', () => <TableStory />);


View a storyโ€™s source code to see how it works and paste into your app

Latest version published 3 days ago

Package Health Score

98 / 100
Full package analysis

Popular @storybook/addon-storysource functions