Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { addDecorator } from '@storybook/react';
- import React from 'react';
- import 'bootstrap/dist/css/bootstrap.css'; // This must be imported before GlobalStyles because of import precedence
- import GlobalStyles from '../src/components/global-styles';
- function withGlobalStyles(storyFn) {
- // ...
- }
- addDecorator(withGlobalStyles);
Add Comment
Please, Sign In to add comment