Skip to content

Commit

Permalink
Merge pull request #17502 from ant-design/fix/fix-switch-type
Browse files Browse the repository at this point in the history
fix: fix type of SwitchProps
  • Loading branch information
afc163 committed Jul 6, 2019
2 parents c484fdf + 6b7ad10 commit b9ffa8a
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 b9ffa8a

Please sign in to comment.