Answers for "react native text underline style"

1

react native text underline

textDecorationLine: 'underline'
Posted by: Guest on March-10-2021
6

react-native italics

<Text style={styles.bold}>I'm bold!</Text>
<Text style={styles.italic}>I'm italic!</Text>
<Text style={styles.underline}>I'm underlined!</Text>

const styles = StyleSheet.create({
    bold: {fontWeight: 'bold'},
    italic: {fontStyle: 'italic'},
    underline: {textDecorationLine: 'underline'}
})
Posted by: Guest on May-15-2020
0

text decoration react native

<Text style={styles.sampleStyle} >Something </Text>

var styles = StyleSheet.create({
  sampleStyle: {
    textDecorationLine: "underline",
    textDecorationStyle: "solid",
    textDecorationColor: "#000"
  }
});
Posted by: Guest on February-14-2021
2

react native italic text

<View flex={1}>
    <Text style={style}>Example of Italic Text</Text>
</View>

const style = StyleSheet.create({
    textAlign: 'center',
    fontWeight: 'bold'
    fontStyle: 'italic'
    fontSize: 20,
});
Posted by: Guest on November-10-2020

Code answers related to "react native text underline style"

Code answers related to "Javascript"

Browse Popular Code Answers by Language