[英]Native Base change floatlabel input bottom outline color
如果要更改所有浮動標簽項目的底部邊框顏色,請在“ .floatingLabel”內添加borderColor:{}
".floatingLabel": {
"NativeBase.Input": {
height: 50,
top: 8
},
"NativeBase.Label": {
top: 8
},
"NativeBase.Icon": {
top: 6
},
borderColor: "blue"
},
對於單個項目,只需覆蓋<Item/>
的樣式
<Item floatingLabel style={{ borderColor:"blue" }}>
<Label>Username</Label>
<Input />
</Item>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.