Skip to content

Commit a25a57e

Browse files
awinogradmmazzarolo
authored andcommitted
Fix: Add testID to DateTimePickerProps (#350)
1 parent 28425ca commit a25a57e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

typings/index.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,11 @@ export interface DateTimePickerProps {
202202
* after Confirm was pressed.
203203
*/
204204
onHide?(date: Date): void;
205+
206+
/**
207+
* Used to locate this view in end-to-end tests.
208+
*/
209+
testID?: string;
205210
}
206211

207212
export default class DateTimePicker extends React.Component<

0 commit comments

Comments
 (0)