UNPKG

@difizen/ai-flow

Version:

Scalable, out-of-the-box, agent-oriented flow

24 lines 874 B
import { EllipsisOutlined, PlayCircleFilled } from '@ant-design/icons'; import React from 'react'; import { jsxs as _jsxs } from "react/jsx-runtime"; import { jsx as _jsx } from "react/jsx-runtime"; export var NodeHeader = function NodeHeader(props) { var icon = props.icon, name = props.name; return /*#__PURE__*/_jsxs("div", { className: "flex items-center justify-between p-3 text-xs", children: [/*#__PURE__*/_jsxs("div", { className: "flex items-center gap-1", children: [icon, /*#__PURE__*/_jsxs("div", { children: [" ", name] })] }), /*#__PURE__*/_jsxs("div", { className: "flex gap-2 items-center text-gray-400", children: [/*#__PURE__*/_jsx(PlayCircleFilled, { className: "cursor-pointer" }), /*#__PURE__*/_jsx(EllipsisOutlined, { className: "cursor-pointer" })] })] }); };