ocrcc-chatbox/.storybook/config.js

10 lines
280 B
JavaScript
Raw Permalink Normal View History

import { configure } from '@storybook/react';
// automatically import all files ending in *.stories.js
const req = require.context('../stories', true, /\.stories\.js$/);
function loadStories() {
req.keys().forEach(filename => req(filename));
}
configure(loadStories, module);