使用"expo": "^32.0.0","react-native-elements": "^1.1.0",
在我的组件中,我使用containerStyle
和inputStyle
,但是searchbar保持不变。我该如何设计样式?
<SearchBar
placeholder="Type Here..."
onChangeText={this.updateSearch}
inputStyle={{ backgroundColor: "white" }}
containerStyle={{
backgroundColor: "white",
borderWidth: 1,
borderRadius: 5
}}
placeholderTextColor={"#g5g5g5"}
placeholder={"Pritish Vaidya"}
value={search}
/>