storybook/docs/snippets/common/storybook-addons-api-selectstory.js.mdx

7 lines
132 B
Plaintext

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