1212
1313import type { RNTesterModuleExample } from '../../types/RNTesterTypes' ;
1414
15+ import RNTesterText from '../../components/RNTesterText' ;
1516import { StyleSheet , Text , View } from 'react-native' ;
1617
1718type ViewStyleProp = NonNullable < React . PropOf < View , 'style' >> ;
@@ -83,7 +84,7 @@ exports.examples = [
8384 return (
8485 < View style = { styles . row } >
8586 < View style = { styles . col } >
86- < Text > 45deg</ Text >
87+ < RNTesterText > 45deg</ RNTesterText >
8788 < BackgroundImageBox
8889 style = { {
8990 backgroundImage : 'linear-gradient(45deg, #ff6b6b, #4ecdc4)' ,
@@ -92,7 +93,7 @@ exports.examples = [
9293 />
9394 </ View >
9495 < View style = { styles . col } >
95- < Text > 90deg</ Text >
96+ < RNTesterText > 90deg</ RNTesterText >
9697 < BackgroundImageBox
9798 style = { {
9899 backgroundImage : 'linear-gradient(90deg, #a8edea, #fed6e3)' ,
@@ -101,7 +102,7 @@ exports.examples = [
101102 />
102103 </ View >
103104 < View style = { styles . col } >
104- < Text > 180deg</ Text >
105+ < RNTesterText > 180deg</ RNTesterText >
105106 < BackgroundImageBox
106107 style = { {
107108 backgroundImage : 'linear-gradient(180deg, #ffecd2, #fcb69f)' ,
@@ -120,7 +121,7 @@ exports.examples = [
120121 return (
121122 < View style = { styles . row } >
122123 < View style = { styles . col } >
123- < Text > 3 colors</ Text >
124+ < RNTesterText > 3 colors</ RNTesterText >
124125 < BackgroundImageBox
125126 style = { {
126127 backgroundImage :
@@ -130,7 +131,7 @@ exports.examples = [
130131 />
131132 </ View >
132133 < View style = { styles . col } >
133- < Text > 4 colors</ Text >
134+ < RNTesterText > 4 colors</ RNTesterText >
134135 < BackgroundImageBox
135136 style = { {
136137 backgroundImage :
@@ -140,7 +141,7 @@ exports.examples = [
140141 />
141142 </ View >
142143 < View style = { styles . col } >
143- < Text > Rainbow</ Text >
144+ < RNTesterText > Rainbow</ RNTesterText >
144145 < BackgroundImageBox
145146 style = { {
146147 backgroundImage :
@@ -160,7 +161,7 @@ exports.examples = [
160161 return (
161162 < View style = { styles . row } >
162163 < View style = { styles . col } >
163- < Text > Circle</ Text >
164+ < RNTesterText > Circle</ RNTesterText >
164165 < BackgroundImageBox
165166 style = { {
166167 backgroundImage : 'radial-gradient(circle, #ff6b6b, #4ecdc4)' ,
@@ -169,7 +170,7 @@ exports.examples = [
169170 />
170171 </ View >
171172 < View style = { styles . col } >
172- < Text > Ellipse</ Text >
173+ < RNTesterText > Ellipse</ RNTesterText >
173174 < BackgroundImageBox
174175 style = { {
175176 backgroundImage : 'radial-gradient(ellipse, #a8edea, #fed6e3)' ,
@@ -189,7 +190,7 @@ exports.examples = [
189190 < View >
190191 < View style = { styles . row } >
191192 < View style = { styles . col } >
192- < Text > repeat</ Text >
193+ < RNTesterText > repeat</ RNTesterText >
193194 < BackgroundImageBox
194195 style = { {
195196 width : 200 ,
@@ -203,7 +204,7 @@ exports.examples = [
203204 />
204205 </ View >
205206 < View style = { styles . col } >
206- < Text > space</ Text >
207+ < RNTesterText > space</ RNTesterText >
207208 < BackgroundImageBox
208209 style = { {
209210 width : 200 ,
@@ -218,7 +219,7 @@ exports.examples = [
218219 </ View >
219220 < View style = { styles . row } >
220221 < View style = { styles . col } >
221- < Text > round</ Text >
222+ < RNTesterText > round</ RNTesterText >
222223 < BackgroundImageBox
223224 style = { {
224225 width : 200 ,
@@ -231,7 +232,7 @@ exports.examples = [
231232 />
232233 </ View >
233234 < View style = { styles . col } >
234- < Text > no-repeat</ Text >
235+ < RNTesterText > no-repeat</ RNTesterText >
235236 < BackgroundImageBox
236237 style = { {
237238 width : 200 ,
@@ -256,7 +257,7 @@ exports.examples = [
256257 return (
257258 < View style = { styles . row } >
258259 < View style = { styles . col } >
259- < Text > center</ Text >
260+ < RNTesterText > center</ RNTesterText >
260261 < BackgroundImageBox
261262 style = { {
262263 backgroundImage : 'radial-gradient(circle, #ff6b6b, #4ecdc4)' ,
@@ -269,7 +270,7 @@ exports.examples = [
269270 />
270271 </ View >
271272 < View style = { styles . col } >
272- < Text > 25% 75%</ Text >
273+ < RNTesterText > 25% 75%</ RNTesterText >
273274 < BackgroundImageBox
274275 style = { {
275276 backgroundImage : 'radial-gradient(circle, #a8edea, #fed6e3)' ,
@@ -282,7 +283,7 @@ exports.examples = [
282283 />
283284 </ View >
284285 < View style = { styles . col } >
285- < Text > right bottom</ Text >
286+ < RNTesterText > right bottom</ RNTesterText >
286287 < BackgroundImageBox
287288 style = { {
288289 backgroundImage : 'radial-gradient(circle, #ffecd2, #fcb69f)' ,
@@ -346,7 +347,7 @@ exports.examples = [
346347 return (
347348 < View style = { styles . row } >
348349 < View style = { styles . col } >
349- < Text > borderRadius</ Text >
350+ < RNTesterText > borderRadius</ RNTesterText >
350351 < BackgroundImageBox
351352 style = { {
352353 backgroundImage : 'linear-gradient(45deg, #667eea, #764ba2)' ,
@@ -356,7 +357,7 @@ exports.examples = [
356357 />
357358 </ View >
358359 < View style = { styles . col } >
359- < Text > borderWidth + borderColor</ Text >
360+ < RNTesterText > borderWidth + borderColor</ RNTesterText >
360361 < BackgroundImageBox
361362 style = { {
362363 backgroundImage : 'radial-gradient(circle, #f093fb, #f5576c)' ,
@@ -367,7 +368,7 @@ exports.examples = [
367368 />
368369 </ View >
369370 < View style = { styles . col } >
370- < Text > non uniform borderRadius</ Text >
371+ < RNTesterText > non uniform borderRadius</ RNTesterText >
371372 < BackgroundImageBox
372373 style = { {
373374 backgroundImage : 'radial-gradient(circle, #f093fb, #f5576c)' ,
@@ -380,7 +381,7 @@ exports.examples = [
380381 />
381382 </ View >
382383 < View style = { styles . col } >
383- < Text > non uniform borderWidth</ Text >
384+ < RNTesterText > non uniform borderWidth</ RNTesterText >
384385 < BackgroundImageBox
385386 style = { {
386387 backgroundImage : 'radial-gradient(circle, #f093fb, #f5576c)' ,
0 commit comments