File tree Expand file tree Collapse file tree 6 files changed +15383
-2748
lines changed Expand file tree Collapse file tree 6 files changed +15383
-2748
lines changed Original file line number Diff line number Diff line change 11{
2- "extends" : " next/core-web-vitals"
2+ "extends" : [
3+ " next/core-web-vitals" ,
4+ " plugin:storybook/recommended"
5+ ]
36}
Original file line number Diff line number Diff line change @@ -33,3 +33,5 @@ yarn-error.log*
3333# typescript
3434* .tsbuildinfo
3535next-env.d.ts
36+
37+ * storybook.log
Original file line number Diff line number Diff line change 1+ import type { StorybookConfig } from "@storybook/nextjs" ;
2+
3+ const config : StorybookConfig = {
4+ stories : [
5+ "../app/**/*.mdx" ,
6+ "../app/**/*.stories.@(js|jsx|mjs|ts|tsx)" ,
7+ ] ,
8+ addons : [
9+ "@storybook/addon-links" ,
10+ "@storybook/addon-essentials" ,
11+ "@storybook/addon-interactions" ,
12+ ] ,
13+ framework : {
14+ name : "@storybook/nextjs" ,
15+ options : { } ,
16+ } ,
17+ docs : {
18+ autodocs : "tag" ,
19+ } ,
20+ staticDirs : [ "../public" ] ,
21+ } ;
22+ export default config ;
Original file line number Diff line number Diff line change 1+ import type { Preview } from "@storybook/react" ;
2+
3+ const preview : Preview = {
4+ parameters : {
5+ controls : {
6+ matchers : {
7+ color : / ( b a c k g r o u n d | c o l o r ) $ / i,
8+ date : / D a t e $ / i,
9+ } ,
10+ } ,
11+ } ,
12+ } ;
13+
14+ export default preview ;
You can’t perform that action at this time.
0 commit comments