Back to Storybook

Storybook Addons Api Setqueryparams

docs/_snippets/storybook-addons-api-setqueryparams.md

10.3.6283 B
Original Source
js
addons.register('my-organisation/my-addon', (api) => {
  api.setQueryParams({
    exampleParameter: 'Sets the example parameter value',
    anotherParameter: 'Sets the another parameter value',
  });
});