mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 11:11:53 +08:00
17 lines
255 B
Plaintext
17 lines
255 B
Plaintext
```js
|
|
// example-addon/src/preview.js
|
|
|
|
import { PARAM_KEY } from './constants';
|
|
|
|
import { CustomDecorator } from './decorators';
|
|
|
|
const preview = {
|
|
decorators: [CustomDecorator],
|
|
globals: {
|
|
[PARAM_KEY]: false,
|
|
},
|
|
};
|
|
|
|
export default preview;
|
|
```
|