UNPKG

testpub-ssr

Version:

Test Pub SSR

20 lines (16 loc) 535 B
import '../src/assets/styles/facts.scss'; import { ThemeProvider } from '@emotion/react'; import { addDecorator } from '@storybook/react'; import { withThemes } from '@react-theming/storybook-addon'; import { theme } from '../src/themes/theme-one'; import { theme2 } from '../src/themes/theme-two'; addDecorator(withThemes(ThemeProvider, [theme, theme2])); export const parameters = { actions: { argTypesRegex: '^on[A-Z].*' }, controls: { matchers: { color: /(background|color)$/i, date: /Date$/, }, }, };