File size: 687 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
{
"PasswordInput": {
"props": {
"defaultVisible": {
"type": "boolean",
"description": "The default visibility state of the password input.",
"defaultValue": "false"
},
"visible": {
"type": "boolean",
"description": "The controlled visibility state of the password input."
},
"onVisibleChange": {
"type": "(visible: boolean) => void",
"description": "Callback invoked when the visibility state changes."
},
"visibilityIcon": {
"type": "{ on: React.ReactNode; off: React.ReactNode }",
"description": "Custom icons for the visibility toggle button."
}
}
}
}
|