mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
docs: Input.Password onVisibleChange type (#46504)
This commit is contained in:
parent
49e60459d9
commit
0d1bf57aef
@ -124,7 +124,7 @@ Supports all props of `Input`.
|
||||
| Property | Description | Type | Default | Version |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| visible | Whether the password is show or hide | boolean | false | 4.24.0 |
|
||||
| onVisibleChange | Callback executed when visibility of the password is changed | boolean | - | 4.24.0 |
|
||||
| onVisibleChange | Callback executed when visibility of the password is changed | (visible) => void | - | 4.24.0 |
|
||||
|
||||
#### Input Methods
|
||||
|
||||
|
@ -122,10 +122,10 @@ interface CountConfig {
|
||||
|
||||
#### VisibilityToggle
|
||||
|
||||
| Property | Description | Type | Default | Version |
|
||||
| --------------- | -------------------- | ------- | ------- | ------- |
|
||||
| visible | 用于手动控制密码显隐 | boolean | false | 4.24 |
|
||||
| onVisibleChange | 显隐密码的回调 | boolean | - | 4.24 |
|
||||
| Property | Description | Type | Default | Version |
|
||||
| --------------- | -------------------- | ----------------- | ------- | ------- |
|
||||
| visible | 用于手动控制密码显隐 | boolean | false | 4.24 |
|
||||
| onVisibleChange | 显隐密码的回调 | (visible) => void | - | 4.24 |
|
||||
|
||||
#### Input Methods
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user