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
Name | Type |
---|---|
# id | string |
# x | number |
# y | number |
# width | number |
# height | number |
# borderRadius | number |
# className | string |
# color | string |
# shapeRendering | string |
# strokeColor | string |
# strokeWidth | number |
# style? | React.CSSProperties |
# selected? | boolean |
# onClick? | (event: MouseEvent, id: string) => void |