import React from 'react'; import { Layer, Rectangle } from 'recharts'; import NodeButton from './NodeButton'; import NodeDropdown from './NodeDropdown'; function CustomNode(props: any) { const { x, y, width, height, index, payload, containerWidth, activeNodes } = props; const isOut = x + width + 6 > containerWidth; return ( {/**/} {/* */} {/**/} ); } export default CustomNode;