parent
1af00c8193
commit
e4f10bf9b1
@ -0,0 +1,14 @@
|
||||
import { configure } from '@kadira/storybook';
|
||||
import React from 'react';
|
||||
import { storiesOf, action } from '@kadira/storybook';
|
||||
|
||||
window.storiesOf = storiesOf;
|
||||
window.action = action;
|
||||
window.React = React;
|
||||
|
||||
function loadStories () {
|
||||
require('./stories/loading_indicator.story.jsx');
|
||||
// You can require as many stories as you need.
|
||||
}
|
||||
|
||||
configure(loadStories, module);
|
@ -0,0 +1,6 @@
|
||||
import LoadingIndicator from '../../app/assets/javascripts/components/components/loading_indicator.jsx'
|
||||
|
||||
storiesOf('LoadingIndicator', module)
|
||||
.add('default state', () => (
|
||||
<LoadingIndicator />
|
||||
));
|
Loading…
Reference in new issue