1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-03 01:08:23 +09:00
mastodon/storybook/config.js
2016-10-12 12:08:57 +02:00

17 lines
394 B
JavaScript

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);