This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "encoding/json" | |
| "testing" | |
| ) | |
| type foo struct { | |
| ID string `json:"_id"` | |
| Index int `json:"index"` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <View> | |
| <Text>Hello {title}</Text> | |
| </View> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <View> | |
| <View> | |
| <Text>Are you tax resident</Text> | |
| <TouchableOpacity onPress={setFieldVal("tax_resident", true)}> | |
| <Text style={{color: values.tax_resident === true ? "green" : "black"}}>YES</Text> | |
| </TouchableOpacity> | |
| <TouchableOpacity onPress={setFieldVal("tax_resident", false)}> | |
| <Text style={{color: values.tax_resident === false ? "green" : "black"}}>No</Text> | |
| </TouchableOpacity> | |
| </View> |
OlderNewer