Text
Summary: fixing ts-strict errors Reviewed By: passy Differential Revision: D17181142 fbshipit-source-id: df82f234061735e62f15a18e6b738c9e9e398807
This commit is contained in:
committed by
Facebook Github Bot
parent
244df345f4
commit
3bdc4a2b8d
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user