Skip to content

Instantly share code, notes, and snippets.

@ManuViola77
Created March 10, 2020 20:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ManuViola77/bde10a388c32f40011e7e475a327bd18 to your computer and use it in GitHub Desktop.
Save ManuViola77/bde10a388c32f40011e7e475a327bd18 to your computer and use it in GitHub Desktop.
styles.js
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