DocsAPI ReferenceComponents

Components

React Editor provides several components to support different integration approaches.

Core

  • <App> - Mount a multi-page, schema-driven app with the editor mounted at /editor/*.
  • <DropZone> - Place droppable regions (zones) inside other components to enable nested components.
  • <Editor> - Render the React Editor editor.
  • <Render> - Render a Data object for a given Config.

Compositional

  • <App.Editor> - Routed <Editor> inside an <App>. Children are forwarded to the editor for compositional UI.
  • <App.Render> - Routed <Render> inside an <App>.
  • <Editor.Components> - A draggable list of components when composing a custom React Editor UI.
  • <Editor.Fields> - The fields for the currently selected item when composing a custom React Editor UI.
  • <Editor.Layout> - The standard React Editor layout.
  • <Editor.Outline> - An interactive outline when composing a custom React Editor UI.
  • <Editor.Preview> - A drag-and-drop preview when composing a custom React Editor UI.

Helper