MiniMapNodeProps
The MiniMapNodeProps type defines the props for nodes in the MiniMap component. This is only relevant if you pass a custom node type to the MiniMap.
Fields
Name | Type | Default |
---|---|---|
id | string | |
x | number | |
y | number | |
width | number | |
height | number | |
borderRadius | number | |
className | string | |
color | string | |
shapeRendering | string | |
strokeColor | string | |
strokeWidth | number | |
style | CSSProperties | |
selected | boolean | |
onClick | (event: MouseEvent<Element, MouseEvent>, id: string) => void |
Last updated on