mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-02 22:07:31 +08:00
20 lines
478 B
TypeScript
20 lines
478 B
TypeScript
|
|
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>
|
||
|
|
);
|
||
|
|
}
|