Skip to content

Commit 08522ac

Browse files
authored
Add test id to icon
1 parent cebf3a6 commit 08522ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Date/DatePickerInput.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ function DatePickerInput(
4242
disabled={rest.disabled}
4343
onPress={() => setVisible(true)}
4444
style={rest.iconStyle as StyleProp<ViewStyle>}
45+
testID={`${rest.testID || 'date-picker'}-icon-button`}
4546
/>
4647
) : null
4748
}

0 commit comments

Comments
 (0)