From 3bdc4a2b8d0756d153fb84a05332d3bfad28320a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20B=C3=BCchele?= Date: Thu, 5 Sep 2019 04:40:39 -0700 Subject: [PATCH] Text Summary: fixing ts-strict errors Reviewed By: passy Differential Revision: D17181142 fbshipit-source-id: df82f234061735e62f15a18e6b738c9e9e398807 --- src/ui/components/Text.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/components/Text.tsx b/src/ui/components/Text.tsx index ecf338b89..f3ae24700 100644 --- a/src/ui/components/Text.tsx +++ b/src/ui/components/Text.tsx @@ -12,6 +12,7 @@ import { TextAlignProperty, FontFamilyProperty, WhiteSpaceProperty, + WordWrapProperty, } from 'csstype'; /** @@ -27,7 +28,7 @@ const Text = styled('span')( code?: boolean; family?: FontFamilyProperty; selectable?: boolean; - wordWrap?; + wordWrap?: WordWrapProperty; whiteSpace?: WhiteSpaceProperty; }) => ({ color: props.color ? props.color : 'inherit',