簡體   English   中英

react-native android 應用程序中的“underlineColorAndroid 不是有效的樣式屬性”錯誤

[英]“underlineColorAndroid is not a valid style property” error in react-native android app

我想從我的TextInput組件中刪除下划線樣式。 我使用了underlineColorAndroid屬性,但它不起作用。

在此處輸入圖片說明

underlineColorAndroidTextInput的道具,而不是 React Native 風格。

以下是如何使用它的示例:

<TextInput underlineColorAndroid={'transparent'} value={this.state.text} />

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM