File size: 462 Bytes
68ed806 6aa5abc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
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;
|