mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-03 01:50:59 +08:00
546e1d89f4
* add design tokens to storybook * tweak * tweak * visual tweaks * add icons
23 lines
534 B
TypeScript
23 lines
534 B
TypeScript
import type { StorybookConfig } from "@storybook/svelte-vite";
|
|
|
|
const config: StorybookConfig = {
|
|
stories: ["../../**/*.mdx", "../../**/*.stories.@(js|jsx|ts|tsx|svelte)"],
|
|
addons: [
|
|
"@storybook/addon-links",
|
|
"@storybook/addon-essentials",
|
|
"@storybook/addon-interactions",
|
|
"@storybook/addon-svelte-csf",
|
|
"@storybook/addon-a11y"
|
|
],
|
|
framework: {
|
|
name: "@storybook/svelte-vite",
|
|
options: {
|
|
builder: {
|
|
viteConfigPath: "js/storybook/vite.config.js"
|
|
}
|
|
}
|
|
},
|
|
staticDirs: ["./public"]
|
|
};
|
|
export default config;
|