storybook/docs/snippets/common/storybook-addons-api-selectstory.js.mdx
2020-10-07 12:23:34 +08:00

7 lines
142 B
Plaintext

```js
// .storybook/my-addon/register.js
addons.register('my-organisation/my-addon', (api) => {
api.selectStory('Button', 'Basic');
});
```