Skip to content

Instantly share code, notes, and snippets.

@yoavniran
Created September 14, 2020 11:51
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 yoavniran/1ac78d15b164fe49af6698c3cf4e94bd to your computer and use it in GitHub Desktop.
Save yoavniran/1ac78d15b164fe49af6698c3cf4e94bd to your computer and use it in GitHub Desktop.
react-native uploady demo - styles
const styles = StyleSheet.create({
uploadedImage: {
width: 400,
height: 400,
resizeMode: 'cover',
},
body: {
backgroundColor: "#ffffff",
},
sectionContainer: {
marginTop: 32,
paddingHorizontal: 24,
},
sectionTitle: {
fontSize: 24,
marginBottom: 12,
fontWeight: '600',
color: "#000",
},
headerBackground: {
paddingBottom: 40,
paddingTop: 96,
paddingHorizontal: 32,
backgroundColor: "#F3F3F3",
},
headerLogo: {
opacity: 0.2,
overflow: 'visible',
resizeMode: 'cover',
marginLeft: -128,
marginBottom: -192,
},
headerText: {
fontSize: 40,
fontWeight: '600',
textAlign: 'center',
color: "#000",
},
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment