This package has been deprecated

Author message:

Package is no longer maintained

@twostoryrobot/storybook-addon-docgen

1.0.5 • Public • Published

Build Status npm (scoped)

storybook-addon-docgen

Generates documentation using react-docgen

Development

# Fork this repo and git clone it
npm install
npm run storybook

Usage

Add the addon to your .storybook/addons.js

import '@twostoryrobot/storybook-addon-docgen/register'

Add the docgen decorator to your stories. You must supply the component you want the documentation from. In this case we want to docs supplied from the Button component.

import docgen from '@twostoryrobot/storybook-addon-docgen'

storiesOf('Button', module)
  .addDecorator(docgen(Button))
  .add('with text', () => (
    <Button onClick={action('clicked')}>Hello Button</Button>
  ))

Readme

Keywords

none

Package Sidebar

Install

npm i @twostoryrobot/storybook-addon-docgen

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

19.3 kB

Total Files

19

Last publish

Collaborators

  • calebissharp
  • jonotron
  • chrisfosterelli
  • avvaikethees