Files
ragflow/web/src/components/webhook-response-status.tsx

20 lines
478 B
TypeScript
Raw Normal View History

import { useTranslation } from 'react-i18next';
import { RAGFlowFormItem } from './ragflow-form';
import { Input } from './ui/input';
type WebHookResponseStatusFormFieldProps = {
name: string;
};
export function WebHookResponseStatusFormField({
name,
}: WebHookResponseStatusFormFieldProps) {
const { t } = useTranslation();
return (
<RAGFlowFormItem name={name} label={t('flow.webhook.status')}>
<Input type="number"></Input>
</RAGFlowFormItem>
);
}