-
Notifications
You must be signed in to change notification settings - Fork 0
/
SearchTab.js
30 lines (19 loc) · 869 Bytes
/
SearchTab.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
import React, { Component } from 'react';
import { Header,Container,Content, Item,Left, Input, Icon,Body, Button, Text } from 'native-base';
import Footers from './Footers';
class SearchTab extends React.Component{
render(){
const {navigate}=this.props.navigation;
return (
<Header searchBar rounded style={{backgroundColor:'white',height:90}}>
<Item style={{backgroundColor:'white',height:60,marginTop:25}}>
<Button transparent style={{backgroundColor:'white',height:58}}
onPress={() => this.props.navigation.goBack()}>
<Icon name='arrow-back' style={{color: '#007aff'}}/>
</Button>
<Input placeholder='Search Twitter'/>
</Item>
</Header>
);
}}
export default SearchTab;