fix: fix type of SwitchProps

This commit is contained in:
DiamondYuan 2019-07-06 22:16:17 +08:00
parent 5375bf00d3
commit 6b7ad105c6

View File

@ -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;