Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Latest commit

 

History

History
 
 

actions

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Storybook Addon Actions

Storybook Addon Actions can be used to display data received by event handlers in Storybook.

Framework Support

Screenshot

Installation

Actions is part of essentials and so is installed in all new Storybooks by default. If you need to add it to your Storybook, you can run:

npm i -D @storybook/addon-actions

Then, add following content to .storybook/main.js:

module.exports = {
  addons: ['@storybook/addon-actions'],
};

Usage

The basic usage is documented in the documentation. For legacy usage, see the advanced README.