-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
31 lines (27 loc) · 997 Bytes
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import { stylesApp } from "./assets/styles/styles.js";
import { StatusBar } from 'expo-status-bar';
import { Image, TextInput, ScrollView, Text, View } from 'react-native';
import { cardList } from "./components/card-list.js";
export default function App() {
const st = stylesApp()
return (
<View style={st.container}>
<View style={st.header}>
<ScrollView keyboardShouldPersistTaps="handled">
<View style={st.logoAndBarContainer}>
<Image style={st.headerIcon} source={require('./assets/icon.png')}/>
<View style={st.searchBarContainer}>
<TextInput style={st.searchBar} placeholder='Buscar'/>
</View>
</View>
</ScrollView>
</View>
<View style={st.content}>
<ScrollView keyboardShouldPersistTaps="handled">
<View style={st.cardContainer}>{cardList()}</View>
<StatusBar style={st.statusBar} />
</ScrollView>
</View>
</View>
);
}