Ian VanSchooten f6402934a1 Revert "Upgrade to TS 4.8"
This reverts commit 9fe7fdc20b65b33bba0914b1446c404910555bf3.
2022-11-04 11:31:06 -04:00
..
2022-07-21 11:24:07 +02:00
2022-10-27 19:33:39 -04:00
2022-10-27 17:00:20 +02:00
2022-07-21 11:24:07 +02:00
2022-11-04 11:31:06 -04:00
2022-07-28 20:19:28 +01: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.