123456789101112131415161718192021222324252627 |
- import React from "react";
- import { StyleSheet, View } from "react-native";
-
- export default function Card(props){
- return (
- <View style = {styles.card}>
- <View style = {styles.cardContent}>
- { props.childern }
- </View>
- </View>
- )
- }
-
- const styles = StyleSheet.create({
- card: {
- borderRadius: 6,
- elevation: 3,
- backgroundColor: '#fff',
- shadowOffset: { width: 1, height: 1},
- shadowColor: '#333',
- shadowOpacity: 0.3,
- },
-
- cardContent: {
-
- },
- });
|