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:
Kris Georges
2020-11-10 08:21:19 -08:00
committed by Facebook GitHub Bot
parent 07eac0c6e2
commit e65b1ef654

View File

@@ -24,7 +24,7 @@ function getEnum(yogaEnum: string, value: string | number): string {
position: 'Position',
flexWrap: 'Wrap',
positionType: 'PositionType',
direction: 'Driection',
direction: 'Direction',
};
if (!enumLookup[yogaEnum]) {