Skip to content

mthuret/storybook-addon-usage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Storybook Usage Addon

This addon let you display the story's declaration inside a panel.

Getting Started

First, install the addon

npm install -D storybook-addon-usage

Add this line to your addons.js file (create this file inside your storybook config directory if needed).

import 'storybook-addon-usage/register';

Add those lines to your storybook config file

import {Usage} from 'storybook-addon-usage'
storybook.addDecorator(Usage);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published