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,
|
TextAlignProperty,
|
||||||
FontFamilyProperty,
|
FontFamilyProperty,
|
||||||
WhiteSpaceProperty,
|
WhiteSpaceProperty,
|
||||||
|
WordWrapProperty,
|
||||||
} from 'csstype';
|
} from 'csstype';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -27,7 +28,7 @@ const Text = styled('span')(
|
|||||||
code?: boolean;
|
code?: boolean;
|
||||||
family?: FontFamilyProperty;
|
family?: FontFamilyProperty;
|
||||||
selectable?: boolean;
|
selectable?: boolean;
|
||||||
wordWrap?;
|
wordWrap?: WordWrapProperty;
|
||||||
whiteSpace?: WhiteSpaceProperty;
|
whiteSpace?: WhiteSpaceProperty;
|
||||||
}) => ({
|
}) => ({
|
||||||
color: props.color ? props.color : 'inherit',
|
color: props.color ? props.color : 'inherit',
|
||||||
|
|||||||
Reference in New Issue
Block a user