import { Flex } from 'antd'; import { Operator, operatorMap } from '../../constant'; import OperatorIcon from '../../operator-icon'; import NodeDropdown from './dropdown'; import styles from './index.less'; interface IProps { id: string; label: string; name: string; gap?: number; className?: string; } const NodeHeader = ({ label, id, name, gap = 4, className }: IProps) => { return ( {name} ); }; export default NodeHeader;