import type { FC } from 'react' import React from 'react' import ReadonlyInputWithSelectVar from '../_base/components/readonly-input-with-select-var' import type { HttpNodeType } from './types' import type { NodeProps } from '@/app/components/workflow/types' const Node: FC> = ({ id, data, }) => { const { method, url } = data if (!url) return null return (
{method}
) } export default React.memo(Node)