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:
David Smith authored and GitHub committed 2020-03-30 08:11:06 -05:00
1 parent 33c7d9301c
commit bc3c27d767
1 file changed
+2 -1
+2 -1
View File
@@ -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>