Function: PropertyPopover()

PropertyPopover(props, context?): 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.properties?Record<string, string>The properties to edit. The key is the name of the property, and the value is the initial value.
props.title?stringThe title to display in the popover.
context?any-

Returns

ReactNode