about summary refs log tree commit diff
path: root/storybook/config.js
blob: 98dde07de95ead899b55afff36e2ab0e2dd39d2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { configure } from '@kadira/storybook';
import React from 'react';
import { storiesOf, action } from '@kadira/storybook';

import './storybook.css'

window.storiesOf = storiesOf;
window.action    = action;
window.React     = React;

function loadStories () {
  require('./stories/loading_indicator.story.jsx');
  require('./stories/button.story.jsx');
}

configure(loadStories, module);