Function: PropertyPopover()

PropertyPopover(props): ReactNode | Promise<ReactNode>

A React component that can be used in custom editors to edit the properties of the node. Displays a simple, static key/value editing UI in a popover.

Parameters

ParameterTypeDescription
propsobject-
props.onChange(values) => voidTriggered when the user edits the property values.
props.propertiesRecord<string, string>The properties to edit. The key is the name of the property, and the value is the initial value.
props.titlestringThe title to display in the popover.

Returns

ReactNode | Promise<ReactNode>