aboutsummaryrefslogtreecommitdiff
path: root/apps/storybook/.storybook/preview.ts
blob: 1c3d344c30004a77221a40b35c97d40bd3aa0a3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;