e248e0073d
I had to downgrade Vite because the Storybook builder does not support v5 yet. Therefore this will be on a separate branch and updated as we move along with the codebase. Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
15 lines
260 B
TypeScript
15 lines
260 B
TypeScript
import type { Preview } from '@storybook/svelte';
|
|
|
|
const preview: Preview = {
|
|
parameters: {
|
|
actions: { argTypesRegex: '^on[A-Z].*' },
|
|
controls: {
|
|
matchers: {
|
|
color: /(background|color)$/i,
|
|
date: /Date$/i
|
|
}
|
|
}
|
|
}
|
|
};
|
|
|
|
export default preview;
|