Skip to Content
参考手册类型

MiniMapNodeProps

GitHub 上的源代码

¥Source on GitHub

export type MiniMapNodeProps = { 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, id: string) => void; };

字段

¥Fields

#id
string
#x
number
#y
number
#width
number
#height
number
#borderRadius
number
#className
string
#color
string
#shapeRendering
string
#strokeColor
string
#strokeWidth
number
#style?
#selected?
boolean
#onClick?
(event: MouseEvent, id: string) => void