2016-10-11 04:21:06 +03:00
|
|
|
import { configure } from '@kadira/storybook';
|
|
|
|
import React from 'react';
|
|
|
|
import { storiesOf, action } from '@kadira/storybook';
|
|
|
|
|
2016-10-11 05:07:32 +03:00
|
|
|
import './storybook.css'
|
|
|
|
// for now just simply $ rake asset:precompile && mv public/assets/application-ebf... storybook/application.css
|
|
|
|
import './application.css'
|
|
|
|
|
2016-10-11 04:21:06 +03:00
|
|
|
window.storiesOf = storiesOf;
|
|
|
|
window.action = action;
|
|
|
|
window.React = React;
|
|
|
|
|
|
|
|
function loadStories () {
|
|
|
|
require('./stories/loading_indicator.story.jsx');
|
2016-10-11 05:07:32 +03:00
|
|
|
require('./stories/button.story.jsx');
|
2016-10-11 04:21:06 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
configure(loadStories, module);
|