chore: setup storybook
This commit is contained in:
parent
ed769dfe4b
commit
252ad3ae4c
23 changed files with 5415 additions and 112 deletions
15
apps/web/.storybook/preview.ts
Normal file
15
apps/web/.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$/,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
export default preview
|
||||
Loading…
Add table
Add a link
Reference in a new issue