mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-04 02:56:42 +00:00
[add] support for 'clip' and 'textIndent' styles
This commit is contained in:
@@ -85,6 +85,7 @@ When `false`, the text is not selectable.
|
|||||||
+ `textAlign`
|
+ `textAlign`
|
||||||
+ `textAlignVertical`
|
+ `textAlignVertical`
|
||||||
+ `textDecorationLine`
|
+ `textDecorationLine`
|
||||||
|
+ `textIndent` ‡
|
||||||
+ `textOverflow` ‡
|
+ `textOverflow` ‡
|
||||||
+ `textRendering` ‡
|
+ `textRendering` ‡
|
||||||
+ `textShadowColor`
|
+ `textShadowColor`
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user