g6/.storybook/config.js

7 lines
211 B
JavaScript
Raw Normal View History

import { configure, addDecorator } from '@storybook/react';
2020-02-14 10:10:54 +08:00
import { withInfo } from '@storybook/addon-info';
2020-02-14 10:10:54 +08:00
addDecorator(withInfo);
2020-02-14 10:10:54 +08:00
configure(require.context('../stories', true, /\.stories\.tsx$/), module);