1render(){
2
3 var payments = [];
4
5 for(let i = 0; i < noGuest; i++){
6
7 payments.push(
8 <View key = {i}>
9 <View>
10 <TextInput />
11 </View>
12 <View>
13 <TextInput />
14 </View>
15 <View>
16 <TextInput />
17 </View>
18 </View>
19 )
20 }
21
22 return (
23 <View>
24 <View>
25 <View><Text>No</Text></View>
26 <View><Text>Name</Text></View>
27 <View><Text>Preference</Text></View>
28 </View>
29
30 { payments }
31 </View>
32 )
33}