mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-29 17:12:37 +00:00
@@ -63,6 +63,7 @@ Lets the user select the text.
|
|||||||
+ ...[View#style](View.md)
|
+ ...[View#style](View.md)
|
||||||
+ `color`
|
+ `color`
|
||||||
+ `fontFamily`
|
+ `fontFamily`
|
||||||
|
+ `fontFeatureSettings` ‡
|
||||||
+ `fontSize`
|
+ `fontSize`
|
||||||
+ `fontStyle`
|
+ `fontStyle`
|
||||||
+ `fontWeight`
|
+ `fontWeight`
|
||||||
|
|||||||
@@ -71,12 +71,10 @@ StyleSheetValidation.addValidStylePropTypes({
|
|||||||
appearance: PropTypes.string,
|
appearance: PropTypes.string,
|
||||||
clear: PropTypes.string,
|
clear: PropTypes.string,
|
||||||
cursor: PropTypes.string,
|
cursor: PropTypes.string,
|
||||||
display: PropTypes.string,
|
|
||||||
float: PropTypes.oneOf([ 'left', 'none', 'right' ]),
|
float: PropTypes.oneOf([ 'left', 'none', 'right' ]),
|
||||||
font: PropTypes.string, /* @private */
|
font: PropTypes.string, /* @private */
|
||||||
listStyle: PropTypes.string,
|
listStyle: PropTypes.string,
|
||||||
pointerEvents: PropTypes.string,
|
pointerEvents: PropTypes.string
|
||||||
WebkitOverflowScrolling: PropTypes.string /* @private */
|
|
||||||
})
|
})
|
||||||
|
|
||||||
module.exports = StyleSheetValidation
|
module.exports = StyleSheetValidation
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ const WritingDirectionPropType = oneOf([ 'auto', 'ltr', 'rtl' ]);
|
|||||||
const TextOnlyStylePropTypes = {
|
const TextOnlyStylePropTypes = {
|
||||||
color: ColorPropType,
|
color: ColorPropType,
|
||||||
fontFamily: string,
|
fontFamily: string,
|
||||||
|
fontFeatureSettings: string,
|
||||||
fontSize: numberOrString,
|
fontSize: numberOrString,
|
||||||
fontStyle: string,
|
fontStyle: string,
|
||||||
fontWeight: string,
|
fontWeight: string,
|
||||||
|
|||||||
Reference in New Issue
Block a user