Open-Federation / json-schema-editor-visual

A json-schema editor of high efficient and easy-to-use, base on React.
https://hellosean1025.github.io/json-schema-visual-editor/
MIT License
1.02k stars 224 forks source link

how to remove the import button and the right view when I use the editor only? #10

Closed zhaoxiangyulove closed 6 years ago

zhaoxiangyulove commented 6 years ago

wx20180814-210840 wx20180814-210957 I only use the editor view, how to set the config to implement?Thanks!

gaoxiaomumu commented 6 years ago

如果只想要右侧的 showEditor={false} 或者不加 showEditor属性 image 无法只想要左侧的

hellosean1025 commented 6 years ago

Try:

import AceEditor from 'json-schema-editor-visual/package/components/AceEditor/AceEditor.js'
export default ()=>(
      <AceEditor />
)