storybook/docs/_snippets/storybook-addons-api-setqueryparams.md
2024-06-13 17:53:08 +01:00

10 lines
285 B
Markdown

```js filename="my-addon/src/manager.js|ts" renderer="common" language="js"
addons.register('my-organisation/my-addon', (api) => {
api.setQueryParams({
exampleParameter: 'Sets the example parameter value',
anotherParameter: 'Sets the another parameter value',
});
});
```