Guest User

Untitled

a guest
Dec 14th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. import { StyleSheet, Dimensions } from 'react-native'
  2.  
  3. // Get the width of the device
  4. let { width } = Dimensions.get('window')
  5.  
  6. const styles = StyleSheet.create({
  7. container: {
  8. backgroundColor: '#fff',
  9. alignItems: 'center',
  10. justifyContent: 'center',
  11. },
  12. headerStyle: {
  13. alignItems: 'center',
  14. justifyContent: 'center',
  15. padding: 13,
  16. borderBottomWidth: 2,
  17. borderBottomColor: '#3354fd'
  18. },
  19. postUsername: {
  20. fontSize: 18,
  21. color: '#3354fd'
  22. },
  23. postBody: {
  24. fontSize: 24,
  25. color: '#1986f9'
  26. },
  27. buttonStyle : {
  28. marginLeft: 21,
  29. marginRight: 21,
  30. padding: 22,
  31. },
  32. cardStyle: {
  33. backgroundColor: '#ffdddddd',
  34. borderBottomWidth: 5,
  35. borderBottomColor: '#3354fd',
  36. padding: 10,
  37. alignItems: 'center',
  38. justifyContent: 'center',
  39. width: width * 0.95,
  40. marginTop: 10
  41. },
  42. cardFooterStyle: {
  43. flexDirection: 'row',
  44. justifyContent: 'center',
  45. alignItems: 'flex-end',
  46. }
  47. });
  48.  
  49. export default styles
Add Comment
Please, Sign In to add comment