diff --git a/releases/next/docs/text.html b/releases/next/docs/text.html index 69d15304522..95371e5ff9d 100644 --- a/releases/next/docs/text.html +++ b/releases/next/docs/text.html @@ -47,7 +47,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.

    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')}``

    pressRetentionOffset {top: number, left: number, bottom: number, right: number} #

    When the scroll view is disabled, this defines how far your touch may +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')}

    pressRetentionOffset {top: number, left: number, bottom: number, right: number} #

    When the scroll view is disabled, this defines how far your touch may move off of the button, before deactivating the button. Once deactivated, try moving it back and you'll see that the button is once again reactivated! Move it back and forth several times while the scroll view