Update index.d.ts (#26978)

* Update index.d.ts

* Replace any with NativeTouchEvent
This commit is contained in:
Pankaj Pandey
2018-07-03 21:53:43 +05:30
committed by Mohamed Hegazy
parent 4feaeec401
commit bc4d86eeab

View File

@@ -6800,7 +6800,7 @@ export interface BackHandlerStatic {
export interface ButtonProps {
title: string;
onPress: () => any;
onPress: (ev: NativeSyntheticEvent<NativeTouchEvent>) => void;
color?: string;
accessibilityLabel?: string;
disabled?: boolean;