|
2 | 2 |
|
3 | 3 | [](https://github.com/ui-schema/demo-cra-ts/actions) |
4 | 4 |
|
5 | | -Examples for [@ui-schema/ui-schema](https://github.com/ui-schema/ui-schema) in Typescript, with material ui, see [demo-cra](https://github.com/ui-schema/demo-cra) for simpler non-TS examples. |
| 5 | +Advanced usages and examples for [@ui-schema/ui-schema](https://github.com/ui-schema/ui-schema) in Typescript, with material ui, see [demo-cra](https://github.com/ui-schema/demo-cra) for simpler non-TS examples. |
6 | 6 |
|
7 | | -Files: |
| 7 | +Files in `src`: |
8 | 8 |
|
9 | | -- [src/App.tsx](./src/App.tsx) provider setup, e.g. `UIMetaProvider` |
10 | | -- [src/components/Layout.tsx](./src/components/Layout.tsx) app layout, routing and nav |
11 | | -- [src/components/UISchema.tsx](./src/components/UISchema.tsx) UI-Schema widget setup |
| 9 | +- [App.tsx](./src/App.tsx) provider setup, e.g. `UIMetaProvider` |
| 10 | +- [components/Layout.tsx](./src/components/Layout.tsx) app layout, routing and nav |
| 11 | +- [components/UISchema.tsx](./src/components/UISchema.tsx) UI-Schema widget setup |
12 | 12 | - example pages: |
13 | | - - [src/pages/PageSimpleForm.tsx](./src/pages/PageSimpleForm.tsx) with simple form, usage of `WidgetCountrySelect` |
14 | | - - [src/pages/PageCustomForm.tsx](./src/pages/PageCustomForm.tsx) with custom rendered form, usage of `WidgetCountrySelect` |
15 | | -- ~multiple~ widgets in: [src/Widgets/](./src/components/Widgets) |
| 13 | + - [pages/PageSimpleForm.tsx](./src/pages/PageSimpleForm.tsx) with simple form, usage of `WidgetCountrySelect` |
| 14 | + - [pages/PageCustomForm.tsx](./src/pages/PageCustomForm.tsx) with custom rendered form, usage of `WidgetCountrySelect` |
| 15 | +- ~multiple~ widgets in: [Widgets/](./src/components/Widgets) |
16 | 16 | - [WidgetCountrySelect.tsx](./src/components/Widgets/WidgetCountrySelect.tsx), uses an API to populate the `Select` options |
17 | 17 |
|
18 | 18 | [](https://ui-schema.bemit.codes/examples) |
19 | 19 |
|
20 | | -[](https://codesandbox.io/s/github/ui-schema/demo-cra-ts/tree/master/?autoresize=1&fontsize=12&hidenavigation=1&module=%2Fsrc%2FSchema%2FDemoEditor.js) |
| 20 | +[](https://codesandbox.io/s/github/ui-schema/demo-cra-ts/tree/master/?autoresize=1&fontsize=12&hidenavigation=1&module=%2Fsrc%2Fpages%2FPageSimpleForm.tsx) |
21 | 21 |
|
22 | 22 | [](https://ui-schema-cra-ts.netlify.app) |
23 | 23 |
|
|
0 commit comments