Merge pull request #14 from NewtopiaDev/backButton
Remove accessible props from nav buttons children
This commit is contained in:
commit
0916498144
|
@ -93,6 +93,7 @@ class HeaderBackButton extends React.PureComponent {
|
|||
|
||||
return (
|
||||
<Text
|
||||
accessible={false}
|
||||
onLayout={this._onTextLayout}
|
||||
style={[styles.title, !!tintColor && { color: tintColor }, titleStyle]}
|
||||
numberOfLines={1}
|
||||
|
@ -107,6 +108,7 @@ class HeaderBackButton extends React.PureComponent {
|
|||
|
||||
let button = (
|
||||
<TouchableItem
|
||||
accessible={false}
|
||||
accessibilityComponentType="button"
|
||||
accessibilityLabel={title}
|
||||
accessibilityTraits="button"
|
||||
|
|
|
@ -9,6 +9,7 @@ const HeaderTitle = ({ style, ...rest }) => (
|
|||
{...rest}
|
||||
style={[styles.title, style]}
|
||||
accessibilityTraits="header"
|
||||
accessible={false}
|
||||
/>
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue