storybook/docs/snippets/common/my-addon-storybook-registration.js.mdx
2021-05-06 21:05:56 +01:00

13 lines
257 B
Plaintext

```js
// /my-addon/.storybook/main.js
module.exports = {
stories: [],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/preset-create-react-app",
"../src/preset.js" //👈 Our addon registered here
]
}
```