import type { GlobalVariable } from '@/app/components/workflow/types' import { capitalize } from 'es-toolkit/string' import { memo } from 'react' import { GlobalVariable as GlobalVariableIcon } from '@/app/components/base/icons/src/vender/line/others' import { cn } from '@/utils/classnames' type Props = { payload: GlobalVariable } const Item = ({ payload, }: Props) => { return (
sys. {payload.name}
{capitalize(payload.value_type)}
{payload.description}
) } export default memo(Item)