Summary: fixing ts-strict errors

Reviewed By: jknoxville

Differential Revision: D17181147

fbshipit-source-id: eb8769536a27df17685a6dbd77f52d97e28e43a5
This commit is contained in:
Daniel Büchele
2019-09-04 10:50:59 -07:00
committed by Facebook Github Bot
parent 02dfcc3cf7
commit ff4a3be15b

View File

@@ -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,
}));
/**