import { Flex } from 'antd'; import { Operator, operatorMap } from '../../constant'; import OperatorIcon from '../../operator-icon'; import NodeDropdown from './dropdown'; import { useTranslate } from '@/hooks/common-hooks'; import styles from './index.less'; import { NextNodePopover } from './popover'; interface IProps { id: string; label: string; name: string; gap?: number; className?: string; } export function RunStatus({ id, name }: Omit) { const { t } = useTranslate('flow'); return (
{t('operationResults')}
); } const NodeHeader = ({ label, id, name, gap = 4, className }: IProps) => { return (
{label !== Operator.Answer && } {name}
); }; export default NodeHeader;