0.0.2--canary.61aa48a.0 • Published 3 years ago
storybook-addon-disqus v0.0.2--canary.61aa48a.0
storybook-addon-disqus
A Storybook addon that embed a Disqus panel in stories for a quick and easy commenting solution.
Requirements
- Storybook@>=6.0.0
This addon should work well with any framework: If you find the case the addon not works, please open an issue.
Getting started
1. Install
npm install --save-dev storybook-addon-disqus
# yarn add -D storybook-addon-designs
2. Register the addon in main.js
module.exports = {
addons: ["storybook-addon-disqus"],
};
3. Add it to a story!
export default {
title: 'My stories',
component: Button,
parameters: {
disqus: {
projectId: "Your Disqus project ID"
}
},
}
export const myStory = () => <Button>Hello, World!</Button>
myStory.parameters = {
disqus: {
projectId: "Your Disqus project ID"
}},
}
0.0.4--canary.8621e1c.0
3 years ago
0.0.4--canary.97e1fc6.0
3 years ago
0.0.4--canary.a292a64.1
3 years ago
0.0.4--canary.a292a64.0
3 years ago
0.0.3--canary.a85d687.0
3 years ago
0.0.2--canary.4a1ae6a.0
3 years ago
0.0.2--canary.61aa48a.0
3 years ago