ИС
Size: a a a
ИС
ИС
N
ВУ
AA
react-native-navigation
+ react-native-splash-screen
в релиз билде iOS?V
export const Page1: React.FC<any> = ( { navigation }) =>
{return (
<View style={styles.pageWrapper}>
<SafeAreaView>
<Header />
</SafeAreaView>
</View>
)}
import React from "react";
import {View, StyleSheet, TouchableOpacity} from "react-native";
import {Search} from "./Search";
import Icon from "react-native-vector-icons/FontAwesome";
export const Header: React.FC<any> = ({navigation}) => {
return (
<View style={{flexDirection: "row", justifyContent: "space-between"}}>
<TouchableOpacity onPress={ () => navigation.openDrawer() }>
<View style={{width: 50, height: 50, backgroundColor: "#56B7E9", justifyContent: "center", alignItems: "center"}}>
<Icon name={'bars'} size={35} color={'#fff'}></Icon>
</View>
</TouchableOpacity>
<Search />
<View style={{width: 50, height: 50, backgroundColor: "#56B7E9", justifyContent: "center", alignItems: "center"}}>
<Icon name={"plus"} size={35} color={'#fff'}></Icon>
</View>
</View>
)
};
AR
rnpm-install
без react-native link
?AR
ДР
AR
Resources
?AR
AR
ДР
AR
VP
AR
KB
KB
KB