import { memo } from "react"; import { CheckCircleOutlined as CheckCircleOutlinedIcon, CloseCircleOutlined as CloseCircleOutlinedIcon, MoreOutlined as MoreOutlinedIcon, } from "@ant-design/icons"; import { Button, Card, Popover, theme } from "antd"; import { WorkflowNodeType } from "@/domain/workflow"; import SharedNode, { type SharedNodeProps } from "./_SharedNode"; import AddNode from "./AddNode"; export type ConditionNodeProps = SharedNodeProps & { branchId: string; branchIndex: number; }; const ExecuteResultNode = ({ node, disabled, branchId, branchIndex }: ConditionNodeProps) => { const { token: themeToken } = theme.useToken(); return ( <> } variant="text" />} /> } placement="rightTop" >
{node.type === WorkflowNodeType.ExecuteSuccess ? ( ) : ( )}
); }; export default memo(ExecuteResultNode);