2017-11-02 20:20:27 +01:00

7 lines
249 B
JavaScript

import { configure, addDecorator } from '@storybook/react';
addDecorator((story) => (<div style={{padding: 20}}>{story()}</div>));
const req = require.context('../src/', true, /\.story.tsx$/);
configure(() => { req.keys().forEach(req) }, module);