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:
Valentin Shergin
2018-01-15 15:35:51 -08:00
committed by Facebook Github Bot
parent ce3146a6f3
commit 6bb8617f3a
3 changed files with 22 additions and 0 deletions

View File

@@ -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>
);
},