mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 15:31:16 +08:00
7 lines
132 B
Plaintext
7 lines
132 B
Plaintext
```js
|
|
// .storybook/my-addon/register.js
|
|
|
|
addons.register('my-organisation/my-addon', (api) => {
|
|
api.getQueryParam('bbc');
|
|
});
|
|
``` |