@react-cad/storybook-addon

0.3.2 • Public • Published

@react-cad/storybook-addon

A preset to preview @react-cad components in Storybook.

Usage

Preferably, create a component with @react-cad/create-component.

Alternatively, set up a React Storybook in the usual way, and add the addon to .storybook/main.js:

module.exports = {
  stories: ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
  addons: [
    "@react-cad/storybook-addon",
  ],
};

Readme

Keywords

Package Sidebar

Install

npm i @react-cad/storybook-addon

Weekly Downloads

3

Version

0.3.2

License

MIT

Unpacked Size

12.8 kB

Total Files

16

Last publish

Collaborators

  • react.cad.bot
  • react.cad.dev