feat: add sample components & stories
This commit is contained in:
parent
64947affa3
commit
a862cdbe11
25 changed files with 806 additions and 656 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import type { StorybookConfig } from "@storybook/nextjs"
|
||||
const config: StorybookConfig = {
|
||||
stories: ["../stories/**/*.mdx", "../stories/**/*.stories.@(js|jsx|ts|tsx)"],
|
||||
stories: ["../components/**/*.stories.mdx", "../components/**/*.stories.@(js|jsx|ts|tsx)"],
|
||||
addons: ["@storybook/addon-links", "@storybook/addon-essentials", "@storybook/addon-interactions"],
|
||||
framework: {
|
||||
name: "@storybook/nextjs",
|
||||
|
|
@ -9,5 +9,14 @@ const config: StorybookConfig = {
|
|||
docs: {
|
||||
autodocs: "tag",
|
||||
},
|
||||
typescript: {
|
||||
check: false,
|
||||
checkOptions: {},
|
||||
reactDocgen: false,
|
||||
reactDocgenTypescriptOptions: {
|
||||
shouldExtractLiteralValuesFromEnum: true,
|
||||
propFilter: (prop) => (prop.parent ? !/node_modules/.test(prop.parent.fileName) : true),
|
||||
},
|
||||
},
|
||||
}
|
||||
export default config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue