16 lines
260 B
TypeScript
16 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;
|