mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-26 13:25:51 +08:00
Exposing setDirtiedFunc as plain C function YGNodeSetDirtiedFunc
Summary: Trivial. Those lines were lost during rebasing of the original commit. Reviewed By: priteshrnandgaonkar Differential Revision: D6717696 fbshipit-source-id: a5dce25427c8977352b3ae7ea01e546a540e0c13
This commit is contained in:
committed by
Facebook Github Bot
parent
ce3146a6f3
commit
6bb8617f3a
@@ -233,8 +233,20 @@ exports.examples = [
|
||||
render: function() {
|
||||
return (
|
||||
<Text>
|
||||
The text
|
||||
<View style={{borderColor: 'red', borderWidth: 1}}>
|
||||
<Text style={{borderColor: 'blue', borderWidth: 1}}>Text Inside</Text>
|
||||
<Text style={{borderColor: 'green', borderWidth: 1}}>Another text Inside</Text>
|
||||
<Text style={{borderColor: 'yellow', borderWidth: 1}}>
|
||||
Total inseption
|
||||
<View style={{borderColor: 'red', borderWidth: 1}}>
|
||||
<Text style={{borderColor: 'blue', borderWidth: 1}}>Insepted Text Inside</Text>
|
||||
</View>
|
||||
</Text>
|
||||
</View>
|
||||
The text should wrap if it goes on multiple lines. See, this is going
|
||||
to the next line.
|
||||
The text after.
|
||||
</Text>
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user