mirror of
https://github.com/expo/react-native-action-sheet.git
synced 2026-11-14 19:11:42 -10:00
feat: Add accessibility label to Action options (#158)
* Add accessibility Label to Action options
* Commit Build
* Revert "Commit Build"
This reverts commit 9d891a6d3a.
This commit is contained in:
1 parent
33c7d9301c
commit
bc3c27d767
1 file changed
+2
-1
@@ -101,7 +101,8 @@ export default class ActionGroup extends React.Component<Props> {
|
||||
pressInDelay={0}
|
||||
background={nativeFeedbackBackground}
|
||||
onPress={() => onSelect(i)}
|
||||
style={styles.button}>
|
||||
style={styles.button}
|
||||
accessibilityLabel={options[i]}>
|
||||
{this._renderIconElement(iconSource, color)}
|
||||
<Text style={[styles.text, textStyle, { color }]}>{options[i]}</Text>
|
||||
</TouchableNativeFeedbackSafe>
|
||||
|
||||
Reference in new issue
Block a user