We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 960c535 commit 9c02f49Copy full SHA for 9c02f49
src/common/components/FormulaeRender.ios.js
@@ -3,16 +3,17 @@
3
import React, {
4
StyleSheet,
5
Text,
6
- View
+ View,
7
+ TouchableHighlight
8
} from 'react-native';
9
10
export default function (props, state) {
11
return (
12
<View style={styles.formulae}>
13
{this.state.displayFormulae.map(function(formula) {
- return <View style={getFormulaStyles(formula.operator)}>
14
+ return <TouchableHighlight style={getFormulaStyles(formula.operator)} onPress={this.handleClick.bind(this, formula)} underlayColor='#cdcdcd'>
15
<Text style={styles.text}>{formula.literal}</Text>
- </View>
16
+ </TouchableHighlight>
17
}, this)}
18
</View>
19
);
0 commit comments