g6/.storybook/config.js
2020-02-14 11:30:12 +08:00

7 lines
211 B
JavaScript

import { configure, addDecorator } from '@storybook/react';
import { withInfo } from '@storybook/addon-info';
addDecorator(withInfo);
configure(require.context('../stories', true, /\.stories\.tsx$/), module);