@@ -18,42 +18,42 @@ const TextInputScreen = () => {
1818 variant = "outlined"
1919 size = "small"
2020 label = "Label"
21- left = { ( ) => < Icon type = "ant-design" color = { theme . primary } name = "plus" size = { 18 } /> }
21+ left = { ( ) => < Icon color = { theme . primary } name = "plus" size = { 18 } /> }
2222 />
2323 < TextInput
2424 variant = "outlined"
2525 size = "medium"
2626 label = "Label"
27- left = { ( ) => < Icon type = "ant-design" color = { theme . primary } name = "plus" size = { 18 } /> }
27+ left = { ( ) => < Icon color = { theme . primary } name = "plus" size = { 18 } /> }
2828 />
2929 < TextInput
3030 variant = "outlined"
3131 size = "large"
3232 label = "Label"
33- left = { ( ) => < Icon type = "ant-design" color = { theme . primary } name = "plus" size = { 18 } /> }
33+ left = { ( ) => < Icon color = { theme . primary } name = "plus" size = { 18 } /> }
3434 />
3535
3636 < Text style = { styles . headerText } > Left - Right Elements</ Text >
3737 < View style = { { rowGap : 10 } } >
3838 < TextInput
3939 variant = "outlined"
4040 label = "Label"
41- left = { ( ) => < Icon type = "ant-design" color = { theme . primary } name = "plus" size = { 18 } /> }
41+ left = { ( ) => < Icon color = { theme . primary } name = "plus" size = { 18 } /> }
4242 />
4343 < TextInput
4444 variant = "outlined"
4545 label = "Label"
4646 right = { ( ) => (
4747 < TouchableOpacity >
48- < Icon type = "ant-design" color = { theme . primary } name = "eye" size = { 18 } />
48+ < Icon color = { theme . primary } name = "eye" size = { 18 } />
4949 </ TouchableOpacity >
5050 ) }
5151 />
5252 < TextInput
5353 variant = "outlined"
5454 label = "Label"
55- right = { ( ) => < Icon type = "ant-design" color = { theme . primary } name = "plus" size = { 18 } /> }
56- left = { ( ) => < Icon type = "ant-design" color = { theme . primary } name = "eye" size = { 18 } /> }
55+ right = { ( ) => < Icon color = { theme . primary } name = "plus" size = { 18 } /> }
56+ left = { ( ) => < Icon color = { theme . primary } name = "eye" size = { 18 } /> }
5757 />
5858 </ View >
5959
@@ -79,42 +79,42 @@ const TextInputScreen = () => {
7979 variant = "filled"
8080 size = "small"
8181 label = "Label"
82- left = { ( ) => < Icon type = "ant-design" color = { theme . primary } name = "plus" size = { 18 } /> }
82+ left = { ( ) => < Icon color = { theme . primary } name = "plus" size = { 18 } /> }
8383 />
8484 < TextInput
8585 variant = "filled"
8686 size = "medium"
8787 label = "Label"
88- left = { ( ) => < Icon type = "ant-design" color = { theme . primary } name = "plus" size = { 18 } /> }
88+ left = { ( ) => < Icon color = { theme . primary } name = "plus" size = { 18 } /> }
8989 />
9090 < TextInput
9191 variant = "filled"
9292 size = "large"
9393 label = "Label"
94- left = { ( ) => < Icon type = "ant-design" color = { theme . primary } name = "plus" size = { 18 } /> }
94+ left = { ( ) => < Icon color = { theme . primary } name = "plus" size = { 18 } /> }
9595 />
9696
9797 < Text style = { styles . headerText } > Left - Right Elements</ Text >
9898 < View style = { { rowGap : 10 } } >
9999 < TextInput
100100 variant = "filled"
101101 label = "Label"
102- left = { ( ) => < Icon type = "ant-design" color = { theme . primary } name = "plus" size = { 18 } /> }
102+ left = { ( ) => < Icon color = { theme . primary } name = "plus" size = { 18 } /> }
103103 />
104104 < TextInput
105105 variant = "filled"
106106 label = "Label"
107107 right = { ( ) => (
108108 < TouchableOpacity >
109- < Icon type = "ant-design" color = { theme . primary } name = "eye" size = { 18 } />
109+ < Icon color = { theme . primary } name = "eye" size = { 18 } />
110110 </ TouchableOpacity >
111111 ) }
112112 />
113113 < TextInput
114114 variant = "filled"
115115 label = "Label"
116- right = { ( ) => < Icon type = "ant-design" color = { theme . primary } name = "plus" size = { 18 } /> }
117- left = { ( ) => < Icon type = "ant-design" color = { theme . primary } name = "eye" size = { 18 } /> }
116+ right = { ( ) => < Icon color = { theme . primary } name = "plus" size = { 18 } /> }
117+ left = { ( ) => < Icon color = { theme . primary } name = "eye" size = { 18 } /> }
118118 />
119119 </ View >
120120
@@ -141,8 +141,8 @@ const TextInputScreen = () => {
141141 size = "medium"
142142 label = "Label"
143143 containerStyle = { { marginBottom : 10 } }
144- // eslint-disable-next-line react/no-unstable-nested-components
145- left = { event => < Icon type = "ant-design" color = { event ? 'grey' : '#195CEF' } name = "plus" size = { 18 } /> }
144+ // eslint-disable-next-line react/no-unstable-nested-components
145+ left = { event => < Icon color = { event ? 'grey' : '#195CEF' } name = "plus" size = { 18 } /> }
146146 />
147147 < TextInput
148148 variant = "outlined"
@@ -161,7 +161,7 @@ const TextInputScreen = () => {
161161 size = "medium"
162162 label = "Label"
163163 containerStyle = { { marginBottom : 10 } }
164- left = { ( ) => < Icon type = "ant-design" color = "red" name = "plus" size = { 18 } /> }
164+ left = { ( ) => < Icon color = "red" name = "plus" size = { 18 } /> }
165165 />
166166 < TextInput
167167 variant = "outlined"
@@ -180,7 +180,7 @@ const TextInputScreen = () => {
180180 size = "medium"
181181 label = "Label"
182182 containerStyle = { { marginTop : 10 } }
183- left = { ( ) => < Icon type = "ant-design" color = { theme . primary } name = "plus" size = { 18 } /> }
183+ left = { ( ) => < Icon color = { theme . primary } name = "plus" size = { 18 } /> }
184184 />
185185 </ View >
186186 </ Layout >
0 commit comments