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