* Added base project to clients/web
* Added storybook build plan
This commit is contained in:
parent
b18b81bdeb
commit
fcd0d156f4
1 changed files with 108867 additions and 0 deletions
27
clients/web/.storybook/preview.tsx
Normal file
27
clients/web/.storybook/preview.tsx
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
import type { Preview } from '@storybook/react-vite'
|
||||
import { MantineProvider } from '@mantine/core'
|
||||
import '@mantine/core/styles.css'
|
||||
import '@mantine/notifications/styles.css'
|
||||
|
||||
const preview: Preview = {
|
||||
decorators: [
|
||||
(Story) => (
|
||||
<MantineProvider>
|
||||
<Story />
|
||||
</MantineProvider>
|
||||
),
|
||||
],
|
||||
parameters: {
|
||||
controls: {
|
||||
matchers: {
|
||||
color: /(background|color)$/i,
|
||||
date: /Date$/i,
|
||||
},
|
||||
},
|
||||
a11y: {
|
||||
test: 'todo',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
export default preview
|
||||
Loading…
Reference in a new issue