Created
March 10, 2020 20:13
-
-
Save ManuViola77/bde10a388c32f40011e7e475a327bd18 to your computer and use it in GitHub Desktop.
styles.js
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
import {StyleSheet} from 'react-native'; | |
const differentFont = "Dan'sDisneyUI"; | |
const styles = StyleSheet.create({ | |
container: { | |
alignItems: 'center', | |
flex: 1, | |
justifyContent: 'space-around', | |
}, | |
header: { | |
fontSize: 18, | |
fontWeight: 'bold', | |
margin: 15, | |
textAlign: 'center', | |
}, | |
inputDifferentFont: { | |
fontFamily: differentFont, | |
}, | |
textDefaultFont: { | |
fontSize: 16, | |
marginVertical: 15, | |
textAlign: 'center', | |
}, | |
textDifferentFont: { | |
fontFamily: differentFont, | |
fontSize: 16, | |
marginVertical: 15, | |
textAlign: 'center', | |
}, | |
}); | |
export default styles; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment