@react-cad/storybook-framework
TypeScript icon, indicating that this package has built-in type declarations

0.23.0 • Public • Published

@react-cad/storybook-framework

A framework to view @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, add the framework to .storybook/main.js, use the webpack 5 builder and disable React fast refresh:

module.exports = {
  stories: ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
  framework: "@react-cad/storybook-framework",
  core: {
    builder: "webpack5",
  },
  reactOptions: {
    fastRefresh: false,
  },
};

Readme

Keywords

Package Sidebar

Install

npm i @react-cad/storybook-framework

Weekly Downloads

2

Version

0.23.0

License

MIT

Unpacked Size

39.9 kB

Total Files

44

Last publish

Collaborators

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