parent
77efdfa110
commit
71e7537330
@ -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