[change] Touchable pass through props

Add support for web-specific props to improve accessibility, e.g., ARIA
properties (and declarative links).

Fix #65
This commit is contained in:
Nicolas Gallagher
2017-02-27 17:05:35 -08:00
parent 997653863f
commit ecae52ccc5
4 changed files with 54 additions and 26 deletions
@@ -318,7 +318,6 @@ var TouchableDisabled = React.createClass({
<TouchableHighlight
activeOpacity={1}
disabled={true}
animationVelocity={0}
underlayColor="rgb(210, 230, 255)"
style={[styles.row, styles.block]}
onPress={action('TouchableHighlight')}>
@@ -329,7 +328,6 @@ var TouchableDisabled = React.createClass({
<TouchableHighlight
activeOpacity={1}
animationVelocity={0}
underlayColor="rgb(210, 230, 255)"
style={[styles.row, styles.block]}
onPress={action('TouchableHighlight')}>