mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-03 02:42:05 +00:00
@@ -42,12 +42,12 @@ const TextStylePropTypes = {
|
|||||||
textShadowColor: ColorPropType,
|
textShadowColor: ColorPropType,
|
||||||
textShadowOffset: shape({ width: number, height: number }),
|
textShadowOffset: shape({ width: number, height: number }),
|
||||||
textShadowRadius: number,
|
textShadowRadius: number,
|
||||||
|
textTransform: oneOf(['capitalize', 'lowercase', 'none', 'uppercase']),
|
||||||
writingDirection: oneOf(['auto', 'ltr', 'rtl']),
|
writingDirection: oneOf(['auto', 'ltr', 'rtl']),
|
||||||
/* @platform web */
|
/* @platform web */
|
||||||
textIndent: numberOrString,
|
textIndent: numberOrString,
|
||||||
textOverflow: string,
|
textOverflow: string,
|
||||||
textRendering: oneOf(['auto', 'geometricPrecision', 'optimizeLegibility', 'optimizeSpeed']),
|
textRendering: oneOf(['auto', 'geometricPrecision', 'optimizeLegibility', 'optimizeSpeed']),
|
||||||
textTransform: oneOf(['capitalize', 'lowercase', 'none', 'uppercase']),
|
|
||||||
unicodeBidi: oneOf([
|
unicodeBidi: oneOf([
|
||||||
'normal',
|
'normal',
|
||||||
'bidi-override',
|
'bidi-override',
|
||||||
@@ -57,6 +57,7 @@ const TextStylePropTypes = {
|
|||||||
'plaintext'
|
'plaintext'
|
||||||
]),
|
]),
|
||||||
whiteSpace: string,
|
whiteSpace: string,
|
||||||
|
wordBreak: oneOf(['normal', 'break-all', 'break-word', 'keep-all']),
|
||||||
wordWrap: string,
|
wordWrap: string,
|
||||||
MozOsxFontSmoothing: string,
|
MozOsxFontSmoothing: string,
|
||||||
WebkitFontSmoothing: string
|
WebkitFontSmoothing: string
|
||||||
|
|||||||
@@ -266,7 +266,6 @@ const stylePropTypes = [
|
|||||||
typeInfo: 'number | string'
|
typeInfo: 'number | string'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'web',
|
|
||||||
name: 'textTransform',
|
name: 'textTransform',
|
||||||
typeInfo: 'string'
|
typeInfo: 'string'
|
||||||
},
|
},
|
||||||
@@ -279,6 +278,12 @@ const stylePropTypes = [
|
|||||||
name: 'whiteSpace',
|
name: 'whiteSpace',
|
||||||
typeInfo: 'string'
|
typeInfo: 'string'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: 'web',
|
||||||
|
name: 'wordBreak',
|
||||||
|
typeInfo: 'enum("normal", "break-all", "break-word", "keep-all")'
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
label: 'web',
|
label: 'web',
|
||||||
name: 'wordWrap',
|
name: 'wordWrap',
|
||||||
|
|||||||
Reference in New Issue
Block a user