[add] fontFeatureSettings 'Text' style

Fix #331
This commit is contained in:
Nicolas Gallagher
2017-02-18 12:18:26 -08:00
parent 30da226e4d
commit b653fe0bd3
3 changed files with 3 additions and 3 deletions

View File

@@ -63,6 +63,7 @@ Lets the user select the text.
+ ...[View#style](View.md)
+ `color`
+ `fontFamily`
+ `fontFeatureSettings`
+ `fontSize`
+ `fontStyle`
+ `fontWeight`

View File

@@ -71,12 +71,10 @@ StyleSheetValidation.addValidStylePropTypes({
appearance: PropTypes.string,
clear: PropTypes.string,
cursor: PropTypes.string,
display: PropTypes.string,
float: PropTypes.oneOf([ 'left', 'none', 'right' ]),
font: PropTypes.string, /* @private */
listStyle: PropTypes.string,
pointerEvents: PropTypes.string,
WebkitOverflowScrolling: PropTypes.string /* @private */
pointerEvents: PropTypes.string
})
module.exports = StyleSheetValidation

View File

@@ -12,6 +12,7 @@ const WritingDirectionPropType = oneOf([ 'auto', 'ltr', 'rtl' ]);
const TextOnlyStylePropTypes = {
color: ColorPropType,
fontFamily: string,
fontFeatureSettings: string,
fontSize: numberOrString,
fontStyle: string,
fontWeight: string,