Adds flex layout documentation

This commit is contained in:
Atul R
2019-08-02 23:36:13 +02:00
parent 255d0eef91
commit 839c4ae223
2 changed files with 71 additions and 0 deletions
+1
View File
@@ -36,6 +36,7 @@ export class FlexLayout extends NodeLayout {
this.native.removeWidget(childWidget.native, childYogaNode);
this.children.delete(childWidget);
};
setFlexNode = (flexNode: FlexNode) => {
this.flexNode = flexNode;
this.native.setFlexNode(flexNode);