storybook-comments

    1.0.2 • Public • Published

    Storybook Comments

    Sometimes, I want to leave some comments for awesome component use storybook preview, but currently open source does not work. So this project born.

    Usage

    Install with: yarn add storybook-comments

    Add this line to .storybook/main.js:

    module.exports = {
      "addons": [
        ...
        "storybook-addon-comments",
      ]
    }

    Within your .storybook/preview.js file, add this:

    export const parameters = {
      comments: {
        apiKey: '',
        authDomain: '',
        databaseURL: '',
        projectId: '',
        storageBucket: '',
        messagingSenderId: '',
      }
    }

    You can find the values necessary by visiting your Firebase console.

    Run

    This project base on addon-kit and storybook-feedback, thanks them for their contribution.

    Install

    yarn 

    Local dev

    yarn start
    • npm run start runs babel in watch mode and starts Storybook
    • npm run build build and package your addon code

    Install

    npm i storybook-comments

    DownloadsWeekly Downloads

    3,282

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    113 kB

    Total Files

    64

    Last publish

    Collaborators

    • wfsovereign