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
Parameter | Type | Description |
---|---|---|
props | object | - |
props.onChange | (values ) => void | Triggered 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 ? | string | The title to display in the popover. |
context ? | any | - |
Returns
ReactNode