2023-04-16 19:25:53 +02:00
|
|
|
import type { Preview } from "@storybook/react"
|
|
|
|
|
|
2023-04-21 11:20:31 +02:00
|
|
|
import "../styles/tailwind.css"
|
|
|
|
|
|
2023-04-16 19:25:53 +02:00
|
|
|
const preview: Preview = {
|
|
|
|
|
parameters: {
|
|
|
|
|
actions: { argTypesRegex: "^on[A-Z].*" },
|
|
|
|
|
controls: {
|
|
|
|
|
matchers: {
|
|
|
|
|
color: /(background|color)$/i,
|
|
|
|
|
date: /Date$/,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default preview
|