Skip to content

Commit b29e8cf

Browse files
author
dasathyakuma
committed
temp commit for storybook
1 parent cb5bdfe commit b29e8cf

File tree

10 files changed

+1202
-3
lines changed

10 files changed

+1202
-3
lines changed

demo/.storybook/main.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import type { StorybookConfig } from "@storybook/marko-vite";
2+
3+
const config: StorybookConfig = {
4+
stories: ["../src/stories/**/*.stories.ts"],
5+
framework: {
6+
name: "@storybook/marko-vite",
7+
options: {},
8+
},
9+
};
10+
11+
export default config;

demo/.storybook/preview.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import type { Preview } from "@storybook/marko";
2+
3+
const preview: Preview = {
4+
parameters: {
5+
layout: "fullscreen",
6+
backgrounds: {
7+
default: "app",
8+
values: [{ name: "app", value: "#f8fafc" }],
9+
},
10+
controls: { matchers: { date: /Date$/ } },
11+
},
12+
};
13+
14+
export default preview;

0 commit comments

Comments
 (0)