Skip to content

Commit

Permalink
make dots container accessible only when label is set
Browse files Browse the repository at this point in the history
  • Loading branch information
thymikee committed Dec 11, 2018
1 parent 5715a2a commit 2e070e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pagination/Pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export default class Pagination extends PureComponent {
<View
pointerEvents={'box-none'}
style={style}
accessible
accessible={!!accessibilityLabel}
accessibilityLabel={accessibilityLabel}
>
{ this.dots }
Expand Down

0 comments on commit 2e070e2

Please sign in to comment.