|
@@ -1,27 +0,0 @@
|
1
|
|
-import React from "react";
|
2
|
|
-import { StyleSheet, View } from "react-native";
|
3
|
|
-
|
4
|
|
-export default function Card(props){
|
5
|
|
- return (
|
6
|
|
- <View style = {styles.card}>
|
7
|
|
- <View style = {styles.cardContent}>
|
8
|
|
- { props.childern }
|
9
|
|
- </View>
|
10
|
|
- </View>
|
11
|
|
- )
|
12
|
|
-}
|
13
|
|
-
|
14
|
|
-const styles = StyleSheet.create({
|
15
|
|
- card: {
|
16
|
|
- borderRadius: 6,
|
17
|
|
- elevation: 3,
|
18
|
|
- backgroundColor: '#fff',
|
19
|
|
- shadowOffset: { width: 1, height: 1},
|
20
|
|
- shadowColor: '#333',
|
21
|
|
- shadowOpacity: 0.3,
|
22
|
|
- },
|
23
|
|
-
|
24
|
|
- cardContent: {
|
25
|
|
-
|
26
|
|
- },
|
27
|
|
-});
|