fbredius/storybook

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

Summary

Maintainability
Test Coverage
```js
// /my-addon/register.js

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