mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-09-28 01:28:45 +00:00

### What problem does this PR solve? feat: change all file names to lowercase #1574 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
20 lines
462 B
TypeScript
20 lines
462 B
TypeScript
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;
|