Fix Yoga Playground website Litho codegen bugs
Summary: Yoga Playground website changing direction results in no change to Litho code because of this typo Reviewed By: SidharthGuglani Differential Revision: D24818769 fbshipit-source-id: 1633513d4a25aead2008b59d52f669293214c598
This commit is contained in:
committed by
Facebook GitHub Bot
parent
07eac0c6e2
commit
e65b1ef654
@@ -24,7 +24,7 @@ function getEnum(yogaEnum: string, value: string | number): string {
|
|||||||
position: 'Position',
|
position: 'Position',
|
||||||
flexWrap: 'Wrap',
|
flexWrap: 'Wrap',
|
||||||
positionType: 'PositionType',
|
positionType: 'PositionType',
|
||||||
direction: 'Driection',
|
direction: 'Direction',
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!enumLookup[yogaEnum]) {
|
if (!enumLookup[yogaEnum]) {
|
||||||
|
Reference in New Issue
Block a user