mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 01:21:06 +08:00
14 lines
338 B
Plaintext
14 lines
338 B
Plaintext
```js
|
|
// .storybook/main.js|ts
|
|
|
|
module.exports = {
|
|
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
|
|
addons: [
|
|
// Other Storybook addons
|
|
'@storybook/addon-interactions', // 👈 Addon is registered here
|
|
],
|
|
features: {
|
|
interactionsDebugger: true, // 👈 Enable playback controls
|
|
},
|
|
};
|
|
``` |