import { useTranslate } from '@/hooks/common-hooks'; import { MinusCircleOutlined, PlusOutlined } from '@ant-design/icons'; import { Button, Form, Input } from 'antd'; import { IOperatorForm } from '../interface'; import styles from './index.less'; const formItemLayout = { labelCol: { sm: { span: 6 }, }, wrapperCol: { sm: { span: 18 }, }, }; const formItemLayoutWithOutLabel = { wrapperCol: { sm: { span: 18, offset: 6 }, }, }; const MessageForm = ({ onValuesChange, form }: IOperatorForm) => { const { t } = useTranslate('flow'); return (