storybook/docs/snippets/common/storybook-addons-api-setqueryparams.js.mdx
2022-03-18 10:27:04 +01:00

10 lines
170 B
Plaintext

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