mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
docs: Modify inappropriate words (#49143)
Co-authored-by: 吴必炫 <wubixuan@rlink.com>
This commit is contained in:
parent
20fa082785
commit
72791d16f3
@ -53,7 +53,7 @@ type CheckboxGroupType = GetProps<typeof Checkbox.Group>;
|
||||
|
||||
#### GetProp 获取属性类型
|
||||
|
||||
对于组件的属性类型,我们可以通过 `GetProp` 来获取。它已经将 `NonNullable` 进行了封装。所以不用在考虑为空的情况:
|
||||
对于组件的属性类型,我们可以通过 `GetProp` 来获取。它已经将 `NonNullable` 进行了封装。所以不用再考虑为空的情况:
|
||||
|
||||
```tsx
|
||||
import type { GetProp, Select, SelectProps } from 'antd';
|
||||
|
Loading…
Reference in New Issue
Block a user