aboutsummaryrefslogtreecommitdiff
path: root/apps/storybook/.storybook/preview.ts
blob: 794f8fac563aa07e0832b026657232b034e200f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import type { Preview } from '@storybook/react';
import '@polyfrost/ui/style';

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

export default preview;