How to make search bar, the full width of header without button search.
<Button transparent>
Search
</Button>
If I remove the button search, search bar displayed incorrectly.

"react-native": "0.35.0"
"native-base": "0.5.11"
Thx.
+1
+2
@manfredxu99 @bgdavidx @joinjoohny you guys can try
<Header searchBar rounded>
<Item>
<Icon name="ios-search" />
<Input placeholder="Search" />
<Icon name="ios-people" />
</Item>
</Header>
the above will work for you .
not working for me too. Same issue.
"native-base": "^2.1.1",
"react-native": "0.43.2",
Closing this as the above should resolve the issue in v2.x
Let me know if it doesn't
style={{color:'#fff'}}
/>
<Body style={{flex:5}}>
<Item >
<Icon name="search" style={{color:'#fff'}} />
<Input placeholder="Search Items Here..." placeholderTextColor="#fff" style={{width:300}}/>
<Icon name="people" style={{color:'#fff'}} />
</Item>
</Body>
<Right style={{flex:1}}>
<Icon name="home" style={{color:'#fff'}}/>
</Right>
</Header>