summaryrefslogtreecommitdiffstats
path: root/.storybook/preview.js
blob: 344df2a3978a797597197553841e9aa7b319566a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import '@styles/globals.scss';
import { IntlProvider } from 'react-intl';

export const parameters = {
  actions: { argTypesRegex: '^on[A-Z].*' },
  controls: {
    matchers: {
      color: /(background|color)$/i,
      date: /Date$/,
    },
  },
};

export const decorators = [
  (Story) => (
    <IntlProvider locale="en">
      <Story />
    </IntlProvider>
  ),
];