Update standalone.md docs

This commit is contained in:
Michael サイトー 中村 Bashurov
2021-11-17 17:48:14 +02:00
committed by GitHub
parent b6c71ae58b
commit 2af2cb6a31

View File

@@ -36,6 +36,7 @@ const root = Node.create();
root.setWidth(500); root.setWidth(500);
root.setHeight(300); root.setHeight(300);
root.setJustifyContent(yoga.JUSTIFY_CENTER); root.setJustifyContent(yoga.JUSTIFY_CENTER);
root.setFlexDirection(yoga.FLEX_DIRECTION_ROW);
const node1 = Node.create(); const node1 = Node.create();
node1.setWidth(100); node1.setWidth(100);