Files
clan-core/pkgs/clan-app/ui/.storybook/preview.ts
Brian McGee f0322a8411 feat(ui): upgrade to storybook 9
Replaces rollup with wasm version for portability.
2025-06-18 15:03:43 +01:00

23 lines
514 B
TypeScript

import type { Preview } from "@kachurun/storybook-solid-vite";
import "@/src/components/v2/index.css";
import "../src/index.css";
import "./preview.css";
export const preview: Preview = {
tags: ["autodocs"],
parameters: {
docs: { toc: true },
// automatically create action args for all props that start with "on"
actions: { argTypesRegex: "^on.*" },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
},
};
export default preview;