22 lines
378 B
TypeScript
22 lines
378 B
TypeScript
|
import type { Preview } from "@storybook/react";
|
||
|
import { themes } from "@storybook/theming";
|
||
|
|
||
|
const preview: Preview = {
|
||
|
parameters: {
|
||
|
controls: {
|
||
|
matchers: {
|
||
|
color: /(background|color)$/i,
|
||
|
date: /Date$/i,
|
||
|
},
|
||
|
},
|
||
|
docs: {
|
||
|
theme: themes.dark,
|
||
|
},
|
||
|
backgrounds: {
|
||
|
default: "dark",
|
||
|
},
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export default preview;
|