react ellipsis function code example Example: react native text ellipsis <Text numberOfLines={1} ellipsizeMode='end'}>