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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    246
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    246
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i storybook-comments

Weekly Downloads

246

Version

1.0.2

License

MIT

Unpacked Size

113 kB

Total Files

64

Last publish

Collaborators

  • wfsovereign