Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import React from 'react';
import {addDecorator, addParameters} from '@storybook/react';
import { withThemesProvider } from "themeprovider-storybook";
import {StoryStyle} from '../src/shared/global';
import {pimTheme} from '../src/theme/pim';
addDecorator(story => (
<>
{story()}
));
addDecorator(withThemesProvider([pimTheme]))
addParameters({
viewMode: 'docs',
});