Skip to Content
ReferenceTypes

MiniMapNodeProps

Source on GitHub 

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

NameTypeDefault
idstring
xnumber
ynumber
widthnumber
heightnumber
borderRadiusnumber
classNamestring
colorstring
shapeRenderingstring
strokeColorstring
strokeWidthnumber
styleCSSProperties
selectedboolean
onClick(event: MouseEvent<Element, MouseEvent>, id: string) => void
Last updated on