2018-02-17 23:32:26 +03:00

8 lines
211 B
JavaScript
Executable File

import * as storybook from '@storybook/react';
const req = require.context('./components/', true, /stories\.js$/);
const loadStories = () => req.keys().forEach(req);
storybook.configure(loadStories, module);