2017-11-05 01:59:04 +03:00

15 lines
359 B
JavaScript

import React from 'react';
import { configure, addDecorator } from '@storybook/react';
import { MemoryRouter } from 'react-router'
import 'bootstrap/dist/css/bootstrap.css';
import '../src/css/main.css';
addDecorator(story => <MemoryRouter>{story()}</MemoryRouter>);
function loadStories() {
require('../src/stories');
}
configure(loadStories, module);