ragflow / web /src /components /layout-recognize.tsx
balibabu
feat: change all file names to lowercase #1574 (#1575)
68ed806
raw
history blame
462 Bytes
import { useTranslate } from '@/hooks/common-hooks';
import { Form, Switch } from 'antd';
const LayoutRecognize = () => {
const { t } = useTranslate('knowledgeDetails');
return (
<Form.Item
name={['parser_config', 'layout_recognize']}
label={t('layoutRecognize')}
initialValue={true}
valuePropName="checked"
tooltip={t('layoutRecognizeTip')}
>
<Switch />
</Form.Item>
);
};
export default LayoutRecognize;