mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-04 00:49:39 +08:00
parent
7fdfb299eb
commit
85392db76c
@ -40,7 +40,7 @@ type CheckboxGroupType = GetProps<typeof Checkbox.Group>;
|
||||
|
||||
## GetProp
|
||||
|
||||
获取组件的单个 `props` 属性定义。它已经将 `NonNullable` 进行了封装,所以不用在考虑为空的情况:
|
||||
获取组件的单个 `props` 属性定义。它已经将 `NonNullable` 进行了封装,所以不用再考虑为空的情况:
|
||||
|
||||
```tsx
|
||||
import { Select } from 'antd';
|
||||
|
Loading…
Reference in New Issue
Block a user