Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from 'react';
- import { View } from 'react-native';
- const Card = (props) => (
- <View style={styles.containerStyles}>
- {props.children}
- </View>
- );
- const styles = {
- containerStyles: {
- borderWidth: 1,
- borderRadius: 2,
- borderColor: 'transparent',
- borderBottomWidth: 2,
- shadowColor: 'powderblue',
- shadowOffset: { width: 0, height: 2 },
- shadowOpacity: 0.3,
- shadowRadius: 2,
- elevation: 1,
- marginLeft: 5,
- marginRight: 5,
- marginTop: 450
- },
- };
- export { Card };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement