Add test ID-related props to react-native-datepicker

This commit is contained in:
nossbigg
2019-01-02 10:58:54 +08:00
parent 00fa3fc061
commit f35e50837d
+4
View File
@@ -1,6 +1,7 @@
// Type definitions for react-native-datepicker 1.6
// Project: https://github.com/xgfe/react-native-datepicker
// Definitions by: Jacob Baskin <https://github.com/jacobbaskin>
// Cheng Gibson <https://github.com/nossbigg>
// 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<DatePickerProps> {