File tree Expand file tree Collapse file tree 6 files changed +250
-9
lines changed
packages/react-renderer-demo
components/navigation/schemas Expand file tree Collapse file tree 6 files changed +250
-9
lines changed Original file line number Diff line number Diff line change
1
+ public
2
+ src
3
+ .gitignore
4
+ tsconfig.js
5
+ tsconfig.json
Original file line number Diff line number Diff line change 30
30
"@actions/github" : " ^5.0.0" ,
31
31
"@data-driven-forms/form-builder" : " 0.0.13-rc1" ,
32
32
"@data-driven-forms/mui-component-mapper" : " *" ,
33
+ "@data-driven-forms/editor-pro" : " 0.0.2" ,
33
34
"@data-driven-forms/react-form-renderer" : " *" ,
34
35
"@emotion/react" : " ^11.7.1" ,
35
36
"@emotion/styled" : " ^11.6.0" ,
45
46
"clsx" : " ^1.1.1" ,
46
47
"codesandbox" : " 2.2.3" ,
47
48
"docsearch.js" : " ^2.6.3" ,
49
+ "evergreen-ui" : " ^6.9.10" ,
48
50
"firebase-admin" : " ^10.0.1" ,
49
51
"firebase-functions" : " ^3.16.0" ,
50
52
"markdown-to-jsx" : " ^7.1.6" ,
Original file line number Diff line number Diff line change
1
+ const editorSchema = [
2
+ {
3
+ component : 'pro-editor' ,
4
+ linkText : 'Pro Editor' ,
5
+ } ,
6
+ {
7
+ component : 'dnd' ,
8
+ linkText : 'Drag and Drop' ,
9
+ } ,
10
+ {
11
+ component : 'live-editor' ,
12
+ linkText : 'Live Editor' ,
13
+ } ,
14
+ ] ;
15
+
16
+ export default editorSchema ;
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import mappersSchema from './mappers.schema';
6
6
import customExamplesSchema from './custom-examples.schema' ;
7
7
import providedMappersSchema from './provider-mappers.schema' ;
8
8
import utilitiesSchema from './utilities.schema' ;
9
+ import editorSchema from './editor.schema' ;
9
10
10
11
const schema = [
11
12
{
@@ -58,6 +59,12 @@ const schema = [
58
59
noRoute : true ,
59
60
fields : customExamplesSchema ,
60
61
} ,
62
+ {
63
+ title : 'Pro Editor' ,
64
+ link : 'editor' ,
65
+ noRoute : true ,
66
+ fields : editorSchema ,
67
+ } ,
61
68
{
62
69
linkText : 'Form builder' ,
63
70
link : 'live-editor' ,
Original file line number Diff line number Diff line change
1
+ import CodeExample from '@docs/code-example ';
2
+ import DocPage from '@docs/doc-page ';
3
+ import Editor from '@data-driven-forms/editor-pro /editor'
4
+
5
+ <DocPage >
6
+
7
+ # Live editor
8
+
9
+ <Editor />
10
+
11
+ </DocPage >
You can’t perform that action at this time.
0 commit comments