0

使用"expo": "^32.0.0","react-native-elements": "^1.1.0",在我正在使用的组件中containerStyleinputStyle搜索栏保持不变。我该如何设计它?

<SearchBar
    placeholder="Type Here..."
    onChangeText={this.updateSearch}
    inputStyle={{ backgroundColor: "white" }}
    containerStyle={{
      backgroundColor: "white",
      borderWidth: 1,
      borderRadius: 5
    }}
    placeholderTextColor={"#g5g5g5"}
    placeholder={"Pritish Vaidya"}
    value={search}
  />
4

1 回答 1

0
inputContainerStyle={{... }}

是你要找的

你可以在这里找到更多

于 2019-05-17T13:36:24.053 回答