Built-in Components
See listViews.md for all the lists ScrollView, FlatList, and SectionList
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";Image
function BananaImage() {
let pic = {
uri: 'https://upload.wikimedia.org/wikipedia/commons/d/de/Bananavarieties.jpg'
};
return (
<Image source={pic} style={{width: 193, height: 110}}/>
);
}Text Input
Alert
Last updated