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