File tree 2 files changed +24
-6
lines changed
2 files changed +24
-6
lines changed Original file line number Diff line number Diff line change @@ -354,13 +354,22 @@ class TextExample extends React.Component<{}> {
354
354
< Text style = { { letterSpacing : 9 , marginTop : 5 } } >
355
355
letterSpacing = 9
356
356
</ Text >
357
+ < View style = { { flexDirection : 'row' } } >
358
+ < Text style = { { letterSpacing : 9 , backgroundColor : 'fuchsia' , marginTop : 5 } } >
359
+ With background color
360
+ </ Text >
361
+ </ View >
357
362
< Text style = { { letterSpacing : - 1 , marginTop : 5 } } >
358
363
letterSpacing = -1
359
364
</ Text >
360
- < Text style = { { letterSpacing : 3 , marginTop : 5 } } >
365
+ < Text style = { { letterSpacing : 3 , backgroundColor : '#dddddd' , marginTop : 5 } } >
361
366
[letterSpacing = 3]
362
- < Text style = { { letterSpacing : 0 } } > [Nested letterSpacing = 0]</ Text >
363
- < Text style = { { letterSpacing : 6 } } > [Nested letterSpacing = 6]</ Text >
367
+ < Text style = { { letterSpacing : 0 , backgroundColor : '#bbbbbb' } } >
368
+ [Nested letterSpacing = 0]
369
+ </ Text >
370
+ < Text style = { { letterSpacing : 6 , backgroundColor : '#eeeeee' } } >
371
+ [Nested letterSpacing = 6]
372
+ </ Text >
364
373
</ Text >
365
374
</ View >
366
375
</ RNTesterBlock >
Original file line number Diff line number Diff line change @@ -525,13 +525,22 @@ exports.examples = [
525
525
< Text style = { { letterSpacing : 9 , marginTop : 5 } } >
526
526
letterSpacing = 9
527
527
</ Text >
528
+ < View style = { { flexDirection : 'row' } } >
529
+ < Text style = { { letterSpacing : 9 , backgroundColor : 'fuchsia' , marginTop : 5 } } >
530
+ With background color
531
+ </ Text >
532
+ </ View >
528
533
< Text style = { { letterSpacing : - 1 , marginTop : 5 } } >
529
534
letterSpacing = -1
530
535
</ Text >
531
- < Text style = { { letterSpacing : 3 , marginTop : 5 } } >
536
+ < Text style = { { letterSpacing : 3 , backgroundColor : '#dddddd' , marginTop : 5 } } >
532
537
[letterSpacing = 3]
533
- < Text style = { { letterSpacing : 0 } } > [Nested letterSpacing = 0]</ Text >
534
- < Text style = { { letterSpacing : 6 } } > [Nested letterSpacing = 6]</ Text >
538
+ < Text style = { { letterSpacing : 0 , backgroundColor : '#bbbbbb' } } >
539
+ [Nested letterSpacing = 0]
540
+ </ Text >
541
+ < Text style = { { letterSpacing : 6 , backgroundColor : '#eeeeee' } } >
542
+ [Nested letterSpacing = 6]
543
+ </ Text >
535
544
</ Text >
536
545
</ View >
537
546
) ;
You can’t perform that action at this time.
0 commit comments