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

7 lines
130 B
Plaintext

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