Michael Shilman 11d1c1410b
Merge pull request #14408 from cjmcintyre/patch-1
UI: Boolean control change for UI Fix toggle button
2021-05-07 16:59:49 +08:00
..
2019-10-24 21:57:05 +00:00
2021-05-06 19:45:10 +08:00
2020-10-14 16:24:26 +01:00
2021-02-03 22:34:44 +08:00
2020-08-10 22:59:35 +10:00
2021-02-03 22:34:44 +08:00

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.