File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ const DirText = (props: DirTextProps) => {
3838 {
3939 minWidth : containerSize [ size ] ,
4040 borderColor : borderColor ,
41+ backgroundColor : '#fff' ,
4142 paddingHorizontal : icon ? 0 : 5 ,
4243 opacity : disabled ? disabledStyle : disabledStyle - 0.2 ,
4344 } ,
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import TextArea from '@uiw/react-native/lib/TextArea';
1313function Demo () {
1414 return (
1515 < TextArea
16+ fontStyle= {{ color: ' #aaa' }}
1617 value= {" Hello TextArea \n please input word" }
1718 placeholder= ' 请输入'
1819 / >
@@ -35,6 +36,7 @@ function Demo() {
3536 console .log (' 输入内容: ' , value);
3637 setValue (value);
3738 }}
39+ fontStyle= {{ color: ' #aaa' }}
3840 value= {value}
3941 placeholder= ' 请输入'
4042 / >
@@ -55,6 +57,7 @@ function Demo() {
5557
5658 return (
5759 < TextArea
60+ fontStyle= {{ color: ' #aaa' }}
5861 editable= {false }
5962 value= {value}
6063 placeholder= ' 请输入'
@@ -78,6 +81,7 @@ function Demo() {
7881 onChange= {(value ) => {
7982 setValue (value);
8083 }}
84+ fontStyle= {{ color: ' #aaa' }}
8185 maxLength= {100 }
8286 showWords= {true }
8387 value= {value}
@@ -102,6 +106,7 @@ function Demo() {
102106 onChange= {(value ) => {
103107 setValue (value);
104108 }}
109+ fontStyle= {{ color: ' #aaa' }}
105110 numberOfLines= {3 }
106111 value= {value}
107112 placeholder= ' 请输入'
@@ -127,6 +132,7 @@ function Demo() {
127132 onChange= {(value ) => {
128133 setValue (value);
129134 }}
135+ fontStyle= {{ color: ' #aaa' }}
130136 placeholder= ' 请输入'
131137 autoSize
132138 / >
@@ -177,6 +183,7 @@ function Demo() {
177183 setValue (value);
178184 }}
179185 textAlignVertical= " center"
186+ fontStyle= {{ color: ' #aaa' }}
180187 value= {value}
181188 placeholder= ' 请输入'
182189 / >
You can’t perform that action at this time.
0 commit comments