|
|
@ -14,11 +14,10 @@ window.storiesOf = storiesOf; |
|
|
|
window.action = action; |
|
|
|
window.action = action; |
|
|
|
window.React = React; |
|
|
|
window.React = React; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let req = require.context('./stories/', true, /.story.jsx$/); |
|
|
|
|
|
|
|
|
|
|
|
function loadStories () { |
|
|
|
function loadStories () { |
|
|
|
require('./stories/loading_indicator.story.jsx'); |
|
|
|
req.keys().forEach((filename) => req(filename)) |
|
|
|
require('./stories/button.story.jsx'); |
|
|
|
|
|
|
|
require('./stories/character_counter.story.jsx'); |
|
|
|
|
|
|
|
require('./stories/autosuggest_textarea.story.jsx'); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
configure(loadStories, module); |
|
|
|
configure(loadStories, module); |
|
|
|