Skip to content

Commit e03864e

Browse files
committed
updating RNTester text iOS example
1 parent 3c24b95 commit e03864e

1 file changed

Lines changed: 11 additions & 15 deletions

File tree

RNTester/js/examples/Text/TextExample.ios.js

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -601,21 +601,17 @@ exports.examples = [
601601
render: function(): React.Node {
602602
return (
603603
<View>
604-
<Text style={{fontSize: 20, fontWeight: '100'}}>
605-
Move fast and be ultralight
606-
</Text>
607-
<Text style={{fontSize: 20, fontWeight: '200'}}>
608-
Move fast and be light
609-
</Text>
610-
<Text style={{fontSize: 20, fontWeight: 'normal'}}>
611-
Move fast and be normal
612-
</Text>
613-
<Text style={{fontSize: 20, fontWeight: 'bold'}}>
614-
Move fast and be bold
615-
</Text>
616-
<Text style={{fontSize: 20, fontWeight: '900'}}>
617-
Move fast and be ultrabold
618-
</Text>
604+
<Text style={{fontWeight: 'bold'}}>Move fast and be bold</Text>
605+
<Text style={{fontWeight: 'normal'}}>Move fast and be normal</Text>
606+
<Text style={{fontWeight: '900'}}>FONT WEIGHT 900</Text>
607+
<Text style={{fontWeight: '800'}}>FONT WEIGHT 800</Text>
608+
<Text style={{fontWeight: '700'}}>FONT WEIGHT 700</Text>
609+
<Text style={{fontWeight: '600'}}>FONT WEIGHT 600</Text>
610+
<Text style={{fontWeight: '500'}}>FONT WEIGHT 500</Text>
611+
<Text style={{fontWeight: '400'}}>FONT WEIGHT 400</Text>
612+
<Text style={{fontWeight: '300'}}>FONT WEIGHT 300</Text>
613+
<Text style={{fontWeight: '200'}}>FONT WEIGHT 200</Text>
614+
<Text style={{fontWeight: '100'}}>FONT WEIGHT 100</Text>
619615
</View>
620616
);
621617
},

0 commit comments

Comments
 (0)