Fix componentkit generator #785

Closed
alickbass wants to merge 3 commits from fix-componentkit-generator into master
Showing only changes of commit 5d094e4fe8 - Show all commits

View File

@@ -165,7 +165,7 @@ function renderKey(node: Yoga$Node, key: string, indent: string): ?string {
); );
} }
['top', 'left', 'right', 'bottom'].forEach(pKey => { ['top', 'start', 'end', 'bottom'].forEach(pKey => {
if (node[key][pKey]) { if (node[key][pKey]) {
lines.push(indent + `\t.${pKey} = ${getValue(node[key][pKey])},`); lines.push(indent + `\t.${pKey} = ${getValue(node[key][pKey])},`);
} }