We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c279425 commit d01a4beCopy full SHA for d01a4be
example/src/PlaygroundContainer.js
@@ -18,8 +18,22 @@ const useStyles = createUseStyles({
18
},
19
});
20
21
+const jsonSchema = {
22
+ type: 'object',
23
+ definitions: {
24
+ address: {
25
+ title: 'Address',
26
27
+ properties: {
28
+ lineOne: { type: 'string' },
29
+ lineTwo: { type: 'string' }
30
+ }
31
+ },
32
33
+};
34
+
35
export default function PlaygroundContainer({ title }: { title: string }) {
- const [schema, setSchema] = React.useState('{}');
36
+ const [schema, setSchema] = React.useState(JSON.stringify(jsonSchema));
37
const [uischema, setUischema] = React.useState('{}');
38
const classes = useStyles();
39
return (
0 commit comments