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

10 lines
171 B
Plaintext

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