Migrate to storybook 7
This commit is contained in:
15
.storybook/preview.ts
Normal file
15
.storybook/preview.ts
Normal file
@ -0,0 +1,15 @@
|
||||
import type { Preview } from "@storybook/react";
|
||||
|
||||
const preview: Preview = {
|
||||
parameters: {
|
||||
actions: { argTypesRegex: "^on[A-Z].*" },
|
||||
controls: {
|
||||
matchers: {
|
||||
color: /(background|color)$/i,
|
||||
date: /Date$/i,
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default preview;
|
Reference in New Issue
Block a user