mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-25 16:11:24 +08:00
Update index.d.ts (#26978)
* Update index.d.ts * Replace any with NativeTouchEvent
This commit is contained in:
committed by
Mohamed Hegazy
parent
4feaeec401
commit
bc4d86eeab
2
types/react-native/index.d.ts
vendored
2
types/react-native/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user