Home.js
583 Bytes
import React from 'react';
import { View, Text} from 'react-native';
import Icon from 'react-native-vector-icons/FontAwesome';
class Home extends React.Component {
constructor(props) {
super(props);
this.state = {
}
}
static navigationOptions={
title:'검색',
tabBarIcon: ({tintColor}) => (<Icon name="search" color={tintColor} style={{marginLeft:2}} size={20} />),
}
render() {
return(
<View>
<Text>검색</Text>
</View>
)
}
}
export default Home;