react-native-material-kit: Fix Switch prop types (#35682)

This commit is contained in:
George Cheng 2019-05-25 00:53:48 +08:00 committed by Ryan Cavanaugh
parent 6f81fc2a69
commit a716c30399

View File

@ -281,7 +281,7 @@ export interface MKSwitchProperties extends TouchableWithoutFeedbackProps {
thumbAniDuration?: number;
rippleColor?: string;
rippleAniDuration?: number;
onCheckedChange?(checked: boolean): void;
onCheckedChange?(opts: { checked: boolean }): void;
}
export interface MKIconToggleProperties extends MKRippleProperties, TouchableWithoutFeedbackProps {