Skip to content
Snippets Groups Projects
Commit d90b1650 authored by usagi-f's avatar usagi-f Committed by Eugen
Browse files

Update storybook file autoload (#2057)

parent 23ecc681
No related branches found
No related tags found
No related merge requests found
......@@ -14,11 +14,10 @@ window.storiesOf = storiesOf;
window.action = action;
window.React = React;
let req = require.context('./stories/', true, /.story.jsx$/);
function loadStories () {
require('./stories/loading_indicator.story.jsx');
require('./stories/button.story.jsx');
require('./stories/character_counter.story.jsx');
require('./stories/autosuggest_textarea.story.jsx');
req.keys().forEach((filename) => req(filename))
}
configure(loadStories, module);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment