Skip to main content

Function: EntityEditor()

EntityEditor(props): ReactNode

Defined in: widgets/editorForms/editEntityForm.tsx:55

Component which allows to build an entity editor by using provided state and callbacks to the nested components.

target is an EntityElement on the canvas or one which was created but not placed on the canvas yet.

Parameters

ParameterTypeDescription

props

{ children: (props) => ReactNode; target: EntityElement; }

props.children

(props) => ReactNode

Render function to make an editor UI using provided state.

props.target

EntityElement

Target entity element to edit.

Returns

ReactNode