[ts] Fix ResponderProps interface: change pointerEvents to have the same type as in ReactNative.ViewProps, i.e., a set of allowed strings, not a function.

This commit is contained in:
Flavio Silva
2019-02-18 17:14:04 -03:00
parent be6a517029
commit d45459cd37
Vendored
+1 -1
View File
@@ -80,7 +80,7 @@ export interface TouchableProps {
}
export interface ResponderProps extends ReactNative.GestureResponderHandlers {
pointerEvents?: (event: any) => any,
pointerEvents?: "box-none" | "none" | "box-only" | "auto",
}
// rgba values inside range 0 to 1 inclusive