mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
fix: fix type of SwitchProps
This commit is contained in:
parent
5375bf00d3
commit
6b7ad105c6
@ -18,7 +18,7 @@ export interface SwitchProps {
|
||||
checked?: boolean;
|
||||
defaultChecked?: boolean;
|
||||
onChange?: SwitchChangeEventHandler;
|
||||
onClick?: SwitchChangeEventHandler;
|
||||
onClick?: SwitchClickEventHandler;
|
||||
checkedChildren?: React.ReactNode;
|
||||
unCheckedChildren?: React.ReactNode;
|
||||
disabled?: boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user