How to use the @storybook/addon-notes.withMarkdownNotes function in @storybook/addon-notes

To help you get started, we’ve selected a few @storybook/addon-notes 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 element-motion / element-motion / packages / yubaba-examples / src / parentChild / emailThreads / stories.tsx View on Github external
}
    >
       } path="/screen/:index" />

      
        {props => }
      
    
  
);

storiesOf('yubaba-examples/ParentChild/EmailThreads', module)
  .add('Default', withMarkdownNotes('')(buildApp()))
  .add('Screen', withMarkdownNotes('')(buildApp('/screen/1')));
github gymnastjs / picturebook / sampleFolder / .storybook / config.js View on Github external
    decorators: [(story, { doc }) => doc && withMarkdownNotes(doc)(story)],
    stories: require.context('../stories', true, /\.(js|md|png)/),

@storybook/addon-notes

Write notes for your Storybook stories.

MIT
Latest version published 4 years ago

Package Health Score

72 / 100
Full package analysis