import * as React from 'react'; import { Text } from 'react-native'; import { Page, Section } from '../components/Page'; import Colors from '../constants/Colors'; export default function TextScreen() { const linkStyle = { color: Colors.tintColor, marginVertical: 3 }; return (
All text in React Native on Android uses the native text component and supports a bunch of useful properties. alert('pressed!')}> Press on this! It's easy to limit the number of lines that some text can span and ellipsize it
); } TextScreen.navigationOptions = { title: 'Text', };