docs: Modify inappropriate words (#49143)

Co-authored-by: 吴必炫 <wubixuan@rlink.com>
This commit is contained in:
Wu Bixuan 2024-05-30 20:48:06 +08:00 committed by GitHub
parent 20fa082785
commit 72791d16f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,7 +53,7 @@ type CheckboxGroupType = GetProps<typeof Checkbox.Group>;
#### GetProp 获取属性类型
对于组件的属性类型,我们可以通过 `GetProp` 来获取。它已经将 `NonNullable` 进行了封装。所以不用考虑为空的情况:
对于组件的属性类型,我们可以通过 `GetProp` 来获取。它已经将 `NonNullable` 进行了封装。所以不用考虑为空的情况:
```tsx
import type { GetProp, Select, SelectProps } from 'antd';