在使用RN开发中,TextInput 组件使用,iOS 没有下划线 而安卓有下划线 ,特此需要设置
<View style ={ETTLogStyles.log_input_top}> <TextInput style ={this.inputStyle()} placeholder={this.placeholder() }> </TextInput> {this.rightView()} </View>
<View style ={ETTLogStyles.log_input_top}> <TextInput style ={this.inputStyle()} placeholder={this.placeholder() } underlineColorAndroid='transparent'> </TextInput> {this.rightView()} </View>