Reference
MiniMapNodeProps

MiniMapNodeProps

Source on GitHub (opens in a new tab)

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