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 e75ebfaCopy full SHA for e75ebfa
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,9 +108,8 @@ export type SegmentedControlProps = $ReadOnly<{|
108
*/
109
tabStyle?: ViewStyle,
110
111
-
112
/**
113
* array testID to each segment button
- testIDS: $ReadOnlyArray<string | number | Object>,
+ testIDS: $ReadOnlyArray<string>,
|}>;
0 commit comments