Migrate to storybook 7
This commit is contained in:
parent
f2100374dc
commit
8e1a34e8f0
18 changed files with 4902 additions and 334 deletions
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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue