import React from 'react'; import type { InputRef } from 'antd'; import { Button, Form, Input } from 'antd'; const App: React.FC = () => { const [form] = Form.useForm(); const ref = React.useRef(null); return (
{(fields) => fields.map((field) => ( )) }
); }; export default App;