Created
August 13, 2017 06:50
-
-
Save chuyihuang/d9e81bedc0e300b1679d58097f2a7f83 to your computer and use it in GitHub Desktop.
React Native workshop #2 snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<View style={{flex: 1, justifyContent: 'center', alignItems: 'center'}}> | |
<Text style={ | |
{ | |
color: '#cc0000', | |
fontSize: 40, | |
textDecorationLine: 'underline', | |
textDecorationColor: 'blue', | |
textShadowColor: 'black', | |
textShadowOffset: { | |
width: 2, | |
height: 2, | |
}, | |
textShadowRadius: 5, | |
textDecorationStyle: 'dotted', | |
}}>Hello Text!</Text> | |
</View> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment