Text
Last Updated: January 1, 2025
The React Native component for displaying text. The Text component supports nesting, styling, and touch handling.
import { Text } from "react-native";
const BoldAndRedText = () => {
return (
<Text style={styles.baseText}>
I am bold
<Text style={styles.innerText}> and red</Text>
</Text>
);
};
export default BoldAndRedText;