14 lines
384 B
TypeScript

import type { StorybookConfig } from '@storybook/core/types';
module.exports = {
stories: ['./src/*.stories.*'],
addons: ['@storybook/addon-essentials', '@storybook/addon-controls'],
typescript: {
check: true,
checkOptions: {},
reactDocgenTypescriptOptions: {
propFilter: (prop) => ['label', 'disabled'].includes(prop.name),
},
},
} as StorybookConfig;