mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
Add test ID-related props to react-native-datepicker
This commit is contained in:
+4
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user