storybook/docs/snippets/common/storybook-addons-api-disablequeryparams.js.mdx

9 lines
138 B
Plaintext

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