> For the complete documentation index, see [llms.txt](https://gyx8899.gitbook.io/blog/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gyx8899.gitbook.io/blog/react/antdtypescript.md).

# Antd typescript

## Demos

```tsx
import type { InputRef } from 'antd';
import type { FieldData } from 'rc-field-form/lib/interface';

const Index: React.FC = () => {

  const inputRef = useRef<InputRef>(null);

  const handleFieldsChange = (changedFields: FieldData[], allFields: FieldData[]) => {
    // ......
  }

  return (
    <Form
        onFieldsChange={handleFieldsChange}
        form={form}
      >
    </Form>
  )
}

```

```tsx


```
