From bfb27d67032817bc0164d3cc01ff5863b85a8831 Mon Sep 17 00:00:00 2001 From: AaronITP <80248196+AaronITP@users.noreply.github.com> Date: Sat, 20 Mar 2021 15:25:19 +0100 Subject: [PATCH] feat: added accesibility for selected tab (#219) --- js/SegmentedControlTab.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/SegmentedControlTab.js b/js/SegmentedControlTab.js index ea6f3314..39eeb07b 100644 --- a/js/SegmentedControlTab.js +++ b/js/SegmentedControlTab.js @@ -84,7 +84,8 @@ export const SegmentedControlTab = ({ + onPress={onSelect} + accessibilityState={{selected: selected, disabled: !enabled}}> {typeof value === 'number' || typeof value === 'object' ? (