1<Text style={styles.bold}>I'm bold!</Text>
2<Text style={styles.italic}>I'm italic!</Text>
3<Text style={styles.underline}>I'm underlined!</Text>
4
5const styles = StyleSheet.create({
6 bold: {fontWeight: 'bold'},
7 italic: {fontStyle: 'italic'},
8 underline: {textDecorationLine: 'underline'}
9})
10