Norway Porridge Makers

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

    0.19.2 • 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,
      },
    };
    

    Install

    npm i @react-cad/storybook-framework

    DownloadsWeekly Downloads

    5

    Version

    0.19.2

    License

    MIT

    Unpacked Size

    39.2 kB

    Total Files

    44

    Last publish

    Collaborators

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