React Storybook Info Addon
A React Storybook addon to show additional information for your stories.
Usage
Install the following npm module:
npm i --save-dev react-storybook-addon-add-stories-group
; { ; // require as many stories as you need.} ;
Then create your stories with the .addWithInfo
API.
;; const stories = name:"with text" props: text:"super error props" resetErrorMessage: name:"with very long text" props: text:"super error this is a reaaaaaalllly long error, probably more than one line of text, even if you have a huge monitor, text text" resetErrorMessage:
Have a look at this example stories to learn more about the
addWithInfo
API.