storybook-addon-comments
storybook addon for component comments/feedback
npm install storybook-comments
1.1k
Downloads per week

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