Skip to content
This repository was archived by the owner on Aug 14, 2024. It is now read-only.

Commit e8f2a76

Browse files
committed
Fix accessibility label default props (peacechen#128).
Change scrollViewAccessibilityLabel and cancelButtonAccessibilityLabel defaults to empty strings `""`.
1 parent c048eb8 commit e8f2a76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ const defaultProps = {
115115
listItemAccessible: false,
116116
cancelButtonAccessible: false,
117117
scrollViewAccessible: false,
118-
scrollViewAccessibilityLabel: undefined,
119-
cancelButtonAccessibilityLabel: undefined,
118+
scrollViewAccessibilityLabel: "",
119+
cancelButtonAccessibilityLabel: "",
120120
passThruProps: {},
121121
selectTextPassThruProps: {},
122122
optionTextPassThruProps: {},

0 commit comments

Comments
 (0)