Skip to content

Commit 3f37abb

Browse files
committed
feat: overriding accessibility props by spreading the defined values in each Segment
1 parent 1e9ceaf commit 3f37abb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ const SegmentedControl: React.FC<SegmentedControlProps> = ({
228228
segments.length
229229
}`}
230230
accessibilityRole="button"
231+
{...accessibilityProps}
231232
>
232233
<View style={styles.textWrapper}>
233234
<Text

0 commit comments

Comments
 (0)