18 lines
333 B
TypeScript
18 lines
333 B
TypeScript
|
import type { Preview } from "@storybook/react";
|
||
|
|
||
|
const preview: Preview = {
|
||
|
parameters: {
|
||
|
backgrounds: {
|
||
|
default: "light",
|
||
|
},
|
||
|
actions: { argTypesRegex: "^on[A-Z].*" },
|
||
|
controls: {
|
||
|
matchers: {
|
||
|
color: /(background|color)$/i,
|
||
|
date: /Date$/,
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export default preview;
|