Skip to content

Commit

Permalink
fix: fix type of SwitchProps
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondYuan committed Jul 6, 2019
1 parent 5375bf0 commit 6b7ad10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/switch/index.tsx
Expand Up @@ -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;
Expand Down

0 comments on commit 6b7ad10

Please sign in to comment.