|
@@ -95,9 +95,18 @@ export default App = () => {
|
95
|
95
|
<View style={{ flex: 1, padding: 24 }}>
|
96
|
96
|
<Text>{Mocion}</Text>
|
97
|
97
|
<Text>{Description}</Text>
|
98
|
|
- <button>{A favor}</button>
|
99
|
|
- <button>{En contra}</button>
|
100
|
|
- <button>{Abstenido}</button>
|
|
98
|
+ <Button>
|
|
99
|
+ title = "A favor"
|
|
100
|
+ onPress={() => Alert.alert('Voto a favor')}
|
|
101
|
+ </Button>
|
|
102
|
+ <Button>
|
|
103
|
+ title = "En contra"
|
|
104
|
+ onPress={() => Alert.alert('Voto en contra')}
|
|
105
|
+ </Button>
|
|
106
|
+ <Button>
|
|
107
|
+ title = "Abstenido"
|
|
108
|
+ onPress={() => Alert.alert('Se abstuvo al voto')}
|
|
109
|
+ </Button>
|
101
|
110
|
</View>
|
102
|
111
|
);
|
103
|
112
|
};
|