Storybook Custom Properties Addon
Storybook Custom Properties Addon allows you to set a Custom Properties in the Preview Area. This helps to change the style of the Storybook via Custom Properties.
Installation
Install the following npm module:
npm i --save-dev storybook-addon-custom-properties
within .storybook/main.js
:
moduleexports = addons: 'storybook-addon-custom-properties/register';
Configuration
Configured by story parameters with the custom-properties
key.
; ; ;
TODO
- Doc
- Ts
- formatter