mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-03-06 22:39:41 +08:00
Add testID to HeaderBackButton (#1397)
This commit is contained in:
committed by
Eric Vicenti
parent
f575d90986
commit
c2f49e52a9
@@ -79,6 +79,7 @@ class HeaderBackButton extends React.PureComponent<DefaultProps, Props, State> {
|
||||
accessibilityComponentType="button"
|
||||
accessibilityLabel={backButtonTitle}
|
||||
accessibilityTraits="button"
|
||||
testID="header-back"
|
||||
delayPressIn={0}
|
||||
onPress={onPress}
|
||||
pressColor={pressColorAndroid}
|
||||
|
||||
Reference in New Issue
Block a user