fix the length of text element and display dots if trimmed in react native code example Example: react native text ellipsis <Text numberOfLines={1} ellipsizeMode='end'}>