12345678910111213141516171819 |
- import React from 'react'
- import { configure, addDecorator } from '@storybook/react';
- import '@storybook/addon-console';
- import StoryRouter from 'storybook-react-router';
- import GlobalStyle from '@polkadot/react-components/styles';
- import 'semantic-ui-css/semantic.min.css'
- import './style.css'
- addDecorator(StoryRouter());
- addDecorator(story => (
- <div className='StorybookRoot'>
- <GlobalStyle />
- {story()}
- </div>
- ));
- configure(require.context('../packages', true, /\.stories\.tsx?$/), module)
|