2018-12-10 19:28:40 +01:00

17 lines
346 B
JavaScript

import { configure, addParameters } from '@storybook/riot';
addParameters({
options: {
hierarchyRootSeparator: /\|/,
},
});
function loadStories() {
require('../src/stories');
const req = require.context('../src/stories', true, /\.stories\.js$/);
req.keys().forEach(filename => req(filename));
}
configure(loadStories, module);