about summary refs log tree commit diff
path: root/storybook/config.js
blob: d9fde833cf7898ba1750adfbe747f37568311793 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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');
  require('./stories/tabs_bar.story.jsx');
}

configure(loadStories, module);