import { memo } from "react"; import { MoreOutlined as MoreOutlinedIcon } from "@ant-design/icons"; import { Button, Card, Popover } from "antd"; import AddNode from "./AddNode"; import SharedNode, { type SharedNodeProps } from "./_SharedNode"; export type ConditionNodeProps = SharedNodeProps & { branchId: string; branchIndex: number; }; const ConditionNode = ({ node, disabled, branchId, branchIndex }: ConditionNodeProps) => { // TODO: 条件分支 return ( <> } variant="text" />} /> } placement="rightTop" >
); }; export default memo(ConditionNode);