RenderItemProps<TDataItem>
The interface of the props passed to the HTML react component for rendering the node contents.
Props
Name | Description | Type |
---|---|---|
dataItem | The data item to render. | TDataItem |
detail | The detail level of the visualization. Use this value to implement level-of-detail rendering. | ”low” | “high” |
focused | Whether the item is currently focused. | boolean |
height | The height of the item. | number |
hovered | Whether the item is currently being hovered. | boolean |
selected | Whether the item is currently selected. | boolean |
width | The width of the item. | number |