import React, { memo, CSSProperties } from 'react'; interface MiniMapNodeProps { x: number; y: number; width: number; height: number; color: string; borderRadius: number; style?: CSSProperties; } const MiniMapNode = memo(({ x, y, width, height, style, color, borderRadius }: MiniMapNodeProps) => { const { background, backgroundColor } = style || {}; const fill = (color || background || backgroundColor) as string; return ( ); }); MiniMapNode.displayName = 'MiniMapNode'; export default MiniMapNode;