[add] support for 'clip' and 'textIndent' styles

This commit is contained in:
Nicolas Gallagher
2017-04-22 10:06:27 -07:00
parent 91e4528eac
commit 4822cf4620
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -85,6 +85,7 @@ When `false`, the text is not selectable.
+ `textAlign` + `textAlign`
+ `textAlignVertical` + `textAlignVertical`
+ `textDecorationLine` + `textDecorationLine`
+ `textIndent`
+ `textOverflow` + `textOverflow`
+ `textRendering` + `textRendering`
+ `textShadowColor` + `textShadowColor`
+1
View File
@@ -188,6 +188,7 @@ Controls whether the View can be the target of touch events. The enhanced
+ `bottom` + `bottom`
+ `boxShadow` + `boxShadow`
+ `boxSizing` + `boxSizing`
+ `clip`
+ `cursor` + `cursor`
+ `display` + `display`
+ `filter` + `filter`
@@ -25,6 +25,7 @@ const TextOnlyStylePropTypes = {
textShadowRadius: number, textShadowRadius: number,
writingDirection: WritingDirectionPropType, writingDirection: WritingDirectionPropType,
/* @platform web */ /* @platform web */
textIndent: numberOrString,
textOverflow: string, textOverflow: string,
textRendering: oneOf(['auto', 'geometricPrecision', 'optimizeLegibility', 'optimizeSpeed']), textRendering: oneOf(['auto', 'geometricPrecision', 'optimizeLegibility', 'optimizeSpeed']),
textTransform: oneOf(['capitalize', 'lowercase', 'none', 'uppercase']), textTransform: oneOf(['capitalize', 'lowercase', 'none', 'uppercase']),
@@ -29,6 +29,7 @@ module.exports = {
backgroundRepeat: string, backgroundRepeat: string,
backgroundSize: string, backgroundSize: string,
boxShadow: string, boxShadow: string,
clip: string,
cursor: string, cursor: string,
filter: string, filter: string,
outline: string, outline: string,