mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-28 05:10:17 +08:00
14 lines
355 B
TypeScript
14 lines
355 B
TypeScript
import type { StorybookConfig } from '@storybook/core/types';
|
|
|
|
module.exports = {
|
|
stories: ['./src/*.stories.*'],
|
|
addons: ['@storybook/addon-essentials'],
|
|
typescript: {
|
|
check: true,
|
|
checkOptions: {},
|
|
reactDocgenTypescriptOptions: {
|
|
propFilter: (prop) => ['label', 'disabled'].includes(prop.name),
|
|
},
|
|
},
|
|
} as StorybookConfig;
|