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

NameTypeDescription
propsObject-
props.onChange(values: Record<string, string>) => 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.
context?any-

Returns

ReactNode