Skip to content

Commit ef88999

Browse files
committed
Removing accessibility label from Text component since it's not supposed to have one
1 parent e9f778d commit ef88999

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/components/text.re

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ module type TextComponent = {
22
let make:
33
(
44
~accessible: bool=?,
5-
~accessibilityLabel: string=?,
65
~allowFontScaling: bool=?,
76
~ellipsizeMode: [ | `clip | `head | `middle | `tail]=?,
87
~numberOfLines: int=?,
@@ -28,7 +27,6 @@ module CreateComponent = (Impl: View.Impl) : TextComponent => {
2827
let make =
2928
(
3029
~accessible=?,
31-
~accessibilityLabel=?,
3230
~allowFontScaling=?,
3331
~ellipsizeMode=?,
3432
~numberOfLines=?,
@@ -53,7 +51,6 @@ module CreateComponent = (Impl: View.Impl) : TextComponent => {
5351
Js.Undefined.(
5452
{
5553
"accessible": from_opt(UtilsRN.optBoolToOptJsBoolean(accessible)),
56-
"accessibilityLabel": from_opt(accessibilityLabel),
5754
"allowFontScaling": from_opt(UtilsRN.optBoolToOptJsBoolean(allowFontScaling)),
5855
"ellipsizeMode":
5956
from_opt(

src/components/text.rei

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ module type TextComponent = {
22
let make:
33
(
44
~accessible: bool=?,
5-
~accessibilityLabel: string=?,
65
~allowFontScaling: bool=?,
76
~ellipsizeMode: [ | `clip | `head | `middle | `tail]=?,
87
~numberOfLines: int=?,

0 commit comments

Comments
 (0)