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