From f35e50837d12ad8035ba0886ee75fd1976deab2a Mon Sep 17 00:00:00 2001 From: nossbigg Date: Mon, 31 Dec 2018 10:43:55 +0800 Subject: [PATCH] Add test ID-related props to react-native-datepicker --- types/react-native-datepicker/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/react-native-datepicker/index.d.ts b/types/react-native-datepicker/index.d.ts index dd69061311..c86b52b80d 100644 --- a/types/react-native-datepicker/index.d.ts +++ b/types/react-native-datepicker/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for react-native-datepicker 1.6 // Project: https://github.com/xgfe/react-native-datepicker // Definitions by: Jacob Baskin +// Cheng Gibson // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 @@ -37,6 +38,9 @@ export interface DatePickerProps { minuteInterval?: number; TouchableComponent?: React.Component; locale?: string; + testID?: string; + cancelBtnTestID?: string; + confirmBtnTestID?: string; } declare class DatePicker extends React.Component {