storybook/docs/snippets/common/storybook-addons-api-getqueryparam.js.mdx
2020-08-11 01:11:41 +01:00

7 lines
132 B
Plaintext

```js
// .storybook/my-addon/register.js
addons.register('my-organisation/my-addon', (api) => {
api.getQueryParam('bbc');
});
```