Skip to content
This repository has been archived by the owner on Feb 8, 2020. It is now read-only.

Commit

Permalink
fix: typo in accessibilityLabel
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Aug 18, 2019
1 parent 98b90d5 commit 57a0d46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bottom-tabs/src/utils/createTabNavigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default function createTabNavigator(TabView: React.ComponentType<*>) {
const descriptor = descriptors[route.key];
const options = descriptor.options;

if (typeof options.tabBarAccessibility !== 'undefined') {
if (typeof options.tabBarAccessibilityLabel !== 'undefined') {
return options.tabBarAccessibilityLabel;
}

Expand Down

0 comments on commit 57a0d46

Please sign in to comment.