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 3030 "@actions/github" : " ^5.0.0" ,
3131 "@data-driven-forms/form-builder" : " 0.0.13-rc1" ,
3232 "@data-driven-forms/mui-component-mapper" : " *" ,
33+ "@data-driven-forms/editor-pro" : " 0.0.2" ,
3334 "@data-driven-forms/react-form-renderer" : " *" ,
3435 "@emotion/react" : " ^11.7.1" ,
3536 "@emotion/styled" : " ^11.6.0" ,
4546 "clsx" : " ^1.1.1" ,
4647 "codesandbox" : " 2.2.3" ,
4748 "docsearch.js" : " ^2.6.3" ,
49+ "evergreen-ui" : " ^6.9.10" ,
4850 "firebase-admin" : " ^10.0.1" ,
4951 "firebase-functions" : " ^3.16.0" ,
5052 "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';
66import customExamplesSchema from './custom-examples.schema' ;
77import providedMappersSchema from './provider-mappers.schema' ;
88import utilitiesSchema from './utilities.schema' ;
9+ import editorSchema from './editor.schema' ;
910
1011const schema = [
1112 {
@@ -58,6 +59,12 @@ const schema = [
5859 noRoute : true ,
5960 fields : customExamplesSchema ,
6061 } ,
62+ {
63+ title : 'Pro Editor' ,
64+ link : 'editor' ,
65+ noRoute : true ,
66+ fields : editorSchema ,
67+ } ,
6168 {
6269 linkText : 'Form builder' ,
6370 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