We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26fc8e3 commit da21d74Copy full SHA for da21d74
js/SegmentedControl.js
@@ -114,7 +114,9 @@ const SegmentedControl = ({
114
return (
115
<SegmentedControlTab
116
enabled={enabled}
117
- testID={(testIDS?.length ?? 0) > index ? testIDS[index] : `${index}`}
+ testID={
118
+ (testIDS?.length ?? 0) > index ? testIDS[index] : `${index}`
119
+ }
120
selected={selectedIndex === index}
121
accessibilityHint={`${
122
index + 1
js/types.js
@@ -108,7 +108,6 @@ export type SegmentedControlProps = $ReadOnly<{|
108
*/
109
tabStyle?: ViewStyle,
110
111
-
112
/**
113
* array testID to each segment button
0 commit comments