PropertyViewProps Interface
Properties of PropertyView React component
Extends
Properties
Name | Type | Description | |
---|---|---|---|
labelElement | React.ReactNode | Property label as a React element | |
valueElement | undefined | React.ReactNode | Property value as a React element |
Inherited properties
Name | Type | Inherited from | Description |
---|---|---|---|
actionButtonRenderers | undefined | ActionButtonRenderer[] | SharedRendererProps | Array of action button renderers @beta |
columnRatio | undefined | number | SharedRendererProps | Ratio between label and value cells |
isHoverable | undefined | false | true | SharedRendererProps | Indicates that properties have hover effect |
isSelectable | undefined | false | true | SharedRendererProps | Indicates that properties can be selected |
isSelected | undefined | false | true | SharedRendererProps | Controls component selection |
onClick | undefined | (property: PropertyRecord, key?: string) => void | SharedRendererProps | Called when property gets clicked. |
onColumnRatioChanged | undefined | (ratio: number) => void | SharedRendererProps | Callback to ratio change event |
onContextMenu | undefined | (property: PropertyRecord, e: MouseEvent) => void | SharedRendererProps | Called to show a context menu for properties |
onRightClick | undefined | (property: PropertyRecord, key?: string) => void | SharedRendererProps | Called when property gets right clicked. |
orientation | Orientation | SharedRendererProps | Orientation to use for displaying the property |
propertyRecord | PropertyRecord | SharedRendererProps | PropertyRecord to render |
uniqueKey | undefined | string | SharedRendererProps | Unique string, that identifies this property component. |
width | undefined | number | SharedRendererProps | Width of the whole property element |
Defined in
Last Updated: 08 January, 2020