diff --git a/releases/next/docs/text.html b/releases/next/docs/text.html index c2e2851522f..b54f5e9a4ea 100644 --- a/releases/next/docs/text.html +++ b/releases/next/docs/text.html @@ -45,15 +45,7 @@ at the beginning of the line is indicated by an ellipsis glyph. e.g., "...w missing text in the middle is indicated by an ellipsis glyph. "ab...yz"
  • tail - The line is displayed so that the beginning fits in the container and the missing text at the end of the line is indicated by an ellipsis glyph. e.g., "abcd..."
  • clip - Lines are not drawn past the edge of the text container.
  • The default is tail.

    numberOfLines must be set in conjunction with this prop.

    clip is working only for iOS

    numberOfLines number #

    Used to truncate the text with an ellipsis after computing the text layout, including line wrapping, such that the total number of lines -does not exceed this number.

    This prop is commonly used with ellipsizeMode.

    onLayout function #

    Invoked on mount and layout changes with

    {nativeEvent: {layout: {x, y, width, height}}}

    onLongPress function #

    This function is called on long press.

    e.g., `onLongPress={this.increaseSize}>``

    onPress function #

    This function is called on press.

    e.g., `onPress={() => console.log('1st')}``

    style style #

    color color
    fontFamily ReactPropTypes.string
    fontSize ReactPropTypes.number
    fontStyle ReactPropTypes.oneOf(['normal', 'italic'])
    fontVariant ReactPropTypes.arrayOf( - ReactPropTypes.oneOf([ - 'small-caps', - 'oldstyle-nums', - 'lining-nums', - 'tabular-nums', - 'proportional-nums', - ]) - )
    fontWeight ReactPropTypes.oneOf( +does not exceed this number.

    This prop is commonly used with ellipsizeMode.

    onLayout function #

    Invoked on mount and layout changes with

    {nativeEvent: {layout: {x, y, width, height}}}

    onLongPress function #

    This function is called on long press.

    e.g., `onLongPress={this.increaseSize}>``

    onPress function #

    This function is called on press.

    e.g., `onPress={() => console.log('1st')}``

    style style #

    color color
    fontFamily ReactPropTypes.string
    fontSize ReactPropTypes.number
    fontStyle ReactPropTypes.oneOf(['normal', 'italic'])
    fontWeight ReactPropTypes.oneOf( ['normal' /*default*/, 'bold', '100', '200', '300', '400', '500', '600', '700', '800', '900'] )

    Specifies font weight. The values 'normal' and 'bold' are supported for @@ -67,6 +59,14 @@ fallbacks to left on Android.

    textShadowRadius ReactPropTypes.number
    androidtextAlignVertical ReactPropTypes.oneOf( ['auto' /*default*/, 'top', 'bottom', 'center'] +)
    iosfontVariant ReactPropTypes.arrayOf( + ReactPropTypes.oneOf([ + 'small-caps', + 'oldstyle-nums', + 'lining-nums', + 'tabular-nums', + 'proportional-nums', + ]) )
    iosletterSpacing ReactPropTypes.number
    iostextDecorationColor color
    iostextDecorationStyle ReactPropTypes.oneOf( ['solid' /*default*/, 'double', 'dotted','dashed'] )
    ioswritingDirection ReactPropTypes.oneOf(