2016-10-11 12:21:06 +11:00
|
|
|
import { configure } from '@kadira/storybook';
|
|
|
|
import React from 'react';
|
|
|
|
import { storiesOf, action } from '@kadira/storybook';
|
|
|
|
|
2016-10-11 13:07:32 +11:00
|
|
|
import './storybook.css'
|
|
|
|
|
2016-10-11 12:21:06 +11:00
|
|
|
window.storiesOf = storiesOf;
|
2016-10-12 21:08:57 +11:00
|
|
|
window.action = action;
|
|
|
|
window.React = React;
|
2016-10-11 12:21:06 +11:00
|
|
|
|
|
|
|
function loadStories () {
|
|
|
|
require('./stories/loading_indicator.story.jsx');
|
2016-10-11 13:07:32 +11:00
|
|
|
require('./stories/button.story.jsx');
|
2016-10-18 11:54:49 +11:00
|
|
|
require('./stories/tabs_bar.story.jsx');
|
2016-10-11 12:21:06 +11:00
|
|
|
}
|
|
|
|
|
|
|
|
configure(loadStories, module);
|