UNPKG

@difizen/ai-flow

Version:

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

19 lines 647 B
import { capitalizeFirstLetter } from "../../../../utils/basic"; import React from 'react'; import { memo } from 'react'; import { jsx as _jsx } from "react/jsx-runtime"; import { jsxs as _jsxs } from "react/jsx-runtime"; export var OutputVariable = /*#__PURE__*/memo(function Variable(props) { var name = props.name, type = props.type; return /*#__PURE__*/_jsxs("div", { className: "flex", children: [/*#__PURE__*/_jsx("div", { className: "font-medium", children: name }), /*#__PURE__*/_jsx("div", { className: "ml-2 rounded-lg bg-gray-200 px-2", children: capitalizeFirstLetter(type) })] }); });