--- order: 999999 title: zh-CN: 引用字段 en-US: Ref item debug: true --- ## zh-CN 请优先使用 `ref`! ## en-US Use `ref` first! ```tsx import type { InputRef } from 'antd'; import { Button, Form, Input } from 'antd'; import React from 'react'; const App: React.FC = () => { const [form] = Form.useForm(); const ref = React.useRef(null); return (
{fields => fields.map(field => ( )) }
); }; export default App; ```