From ff4a3be15b137da25d2d016f85decdde4f6e1a36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20B=C3=BCchele?= Date: Wed, 4 Sep 2019 10:50:59 -0700 Subject: [PATCH] Select Summary: fixing ts-strict errors Reviewed By: jknoxville Differential Revision: D17181147 fbshipit-source-id: eb8769536a27df17685a6dbd77f52d97e28e43a5 --- src/ui/components/Select.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/components/Select.tsx b/src/ui/components/Select.tsx index ae0c66738..c14002528 100644 --- a/src/ui/components/Select.tsx +++ b/src/ui/components/Select.tsx @@ -20,8 +20,8 @@ const LabelText = styled(Text)({ marginRight: 5, }); -const SelectMenu = styled('select')(({grow}: {grow?: boolean}) => ({ - flexGrow: grow ? 1 : null, +const SelectMenu = styled('select')((props: {grow?: boolean}) => ({ + flexGrow: props.grow ? 1 : 0, })); /**