From 08522ac5c32ceada7fb562dad1cdb56424316d5b Mon Sep 17 00:00:00 2001 From: Arjen <67794681+arjendevos@users.noreply.github.com> Date: Mon, 18 Sep 2023 12:04:34 +0200 Subject: [PATCH] Add test id to icon --- src/Date/DatePickerInput.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Date/DatePickerInput.tsx b/src/Date/DatePickerInput.tsx index e595a789..7db9b889 100644 --- a/src/Date/DatePickerInput.tsx +++ b/src/Date/DatePickerInput.tsx @@ -42,6 +42,7 @@ function DatePickerInput( disabled={rest.disabled} onPress={() => setVisible(true)} style={rest.iconStyle as StyleProp} + testID={`${rest.testID || 'date-picker'}-icon-button`} /> ) : null }