storybook-comments
v1.0.2
Published
storybook addon for component comments/feedback
Downloads
282
Maintainers
Readme
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 Storybooknpm run build
build and package your addon code