storybook-addon-valkyrie-theme/.storybook/preview.ts

18 lines
333 B
TypeScript
Raw Permalink Normal View History

2024-10-18 10:01:24 +00:00
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;