Advertisement
Guest User

Untitled

a guest
Jun 25th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. import React from 'react';
  2. import { View } from 'react-native';
  3.  
  4. const Card = (props) => (
  5. <View style={styles.containerStyles}>
  6. {props.children}
  7. </View>
  8. );
  9.  
  10. const styles = {
  11. containerStyles: {
  12. borderWidth: 1,
  13. borderRadius: 2,
  14. borderColor: 'transparent',
  15. borderBottomWidth: 2,
  16. shadowColor: 'powderblue',
  17. shadowOffset: { width: 0, height: 2 },
  18. shadowOpacity: 0.3,
  19. shadowRadius: 2,
  20. elevation: 1,
  21. marginLeft: 5,
  22. marginRight: 5,
  23. marginTop: 450
  24. },
  25. };
  26.  
  27. export { Card };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement