mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-19 06:43:16 +08:00
Merge pull request #17502 from ant-design/fix/fix-switch-type
fix: fix type of SwitchProps
This commit is contained in:
commit
b9ffa8a720
@ -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