See listViews.md for all the lists ScrollView, FlatList, and SectionList
Image
Text Input
Alert
import {
Image,
ScrollView, //view with scroll
View, //like <div> or <span>
Text, //must be used for strings
FlatList,
//See Gestures v
Button,
TouchableOpacity
} from "react-native";
function BananaImage() {
let pic = {
uri: 'https://upload.wikimedia.org/wikipedia/commons/d/de/Bananavarieties.jpg'
};
return (
<Image source={pic} style={{width: 193, height: 110}}/>
);
}
function PizzaTranslator() {
const [text, setText] = useState("");
return (
<TextInput
style={{ height: 40 }}
placeholder="Type here to translate!"
onChangeText={setText}
value={text}
/>
);
}