File tree Expand file tree Collapse file tree 5 files changed +9
-8
lines changed
packages/react/spec/auto/shadcn-defaults Expand file tree Collapse file tree 5 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
1
import React , { useState } from "react" ;
2
2
import { Provider } from "../../../src/GadgetProvider.tsx" ;
3
- import { makeAutocomponents } from "../../../src/auto/shadcn/unreleasedIndex.js " ;
3
+ import { makeAutocomponents } from "../../../src/auto/shadcn/unreleasedIndex.ts " ;
4
4
import { FormProvider , useForm } from "../../../src/useActionForm.ts" ;
5
5
import { testApi as api } from "../../apis.ts" ;
6
6
import { StorybookErrorBoundary } from "../storybook/StorybookErrorBoundary.tsx" ;
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
2
import { Provider } from "../../../../src/GadgetProvider.tsx" ;
3
3
import { makeShadcnAutoEnumInput } from "../../../../src/auto/shadcn/inputs/ShadcnAutoEnumInput.tsx" ;
4
- import { makeAutocomponents } from "../../../../src/auto/shadcn/unreleasedIndex.js " ;
4
+ import { makeAutocomponents } from "../../../../src/auto/shadcn/unreleasedIndex.ts " ;
5
5
import { FormProvider , useForm } from "../../../../src/useActionForm.ts" ;
6
6
import { testApi as api } from "../../../apis.ts" ;
7
7
import { StorybookErrorBoundary } from "../../storybook/StorybookErrorBoundary.tsx" ;
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
2
import { Provider } from "../../../../src/GadgetProvider.tsx" ;
3
3
import { makeShadcnAutoJSONInput } from "../../../../src/auto/shadcn/inputs/ShadcnAutoJSONInput.tsx" ;
4
- import { makeAutocomponents } from "../../../../src/auto/shadcn/unreleasedIndex.js " ;
4
+ import { makeAutocomponents } from "../../../../src/auto/shadcn/unreleasedIndex.ts " ;
5
5
import { FormProvider , useForm } from "../../../../src/useActionForm.ts" ;
6
6
import { testApi as api } from "../../../apis.ts" ;
7
- import { elements } from "../index" ;
7
+ import { elements } from "../index.tsx" ;
8
+
8
9
// More on how to set up stories at: https://storybook.js.org/docs/writing-stories#default-export
9
10
10
11
const ShadcnAutoForm = makeAutocomponents ( elements ) . AutoForm ;
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
2
import { Provider } from "../../../../src/GadgetProvider.tsx" ;
3
3
import { makeShadcnAutoFileInput } from "../../../../src/auto/shadcn/inputs/ShadcnAutoFileInput.tsx" ;
4
- import { makeAutocomponents } from "../../../../src/auto/shadcn/unreleasedIndex.js " ;
4
+ import { makeAutocomponents } from "../../../../src/auto/shadcn/unreleasedIndex.ts " ;
5
5
import { FormProvider , useForm } from "../../../../src/useActionForm.ts" ;
6
6
import { testApi as api } from "../../../apis.ts" ;
7
- import { elements } from "../index" ;
7
+ import { elements } from "../index.tsx" ;
8
+
8
9
// More on how to set up stories at: https://storybook.js.org/docs/writing-stories#default-export
9
10
10
11
const ShadcnAutoForm = makeAutocomponents ( elements ) . AutoForm ;
Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
2
import { Provider } from "../../../../../src/GadgetProvider.tsx" ;
3
-
4
- import { makeAutocomponents } from "../../../../../src/auto/shadcn/unreleasedIndex.js" ;
3
+ import { makeAutocomponents } from "../../../../../src/auto/shadcn/unreleasedIndex.ts" ;
5
4
import { FormProvider , useForm } from "../../../../../src/useActionForm.ts" ;
6
5
import { testApi as api } from "../../../../apis.ts" ;
7
6
import { StorybookErrorBoundary } from "../../../storybook/StorybookErrorBoundary.tsx" ;
You can’t perform that action at this time.
0 commit comments