import * as React from "react";
import { View, ViewProps } from "react-native";

interface Props extends ViewProps {
  children: any;
}

function Card(props: Props) {
  return (
    <View
      {...props}
      style={[
        {
          backgroundColor: "white",
          shadowColor: "#000",
          shadowOffset: {
            width: 0,
            height: 1,
          },
          shadowOpacity: 0.18,
          shadowRadius: 1.0,

          elevation: 1,
        },
        props.style,
      ]}
    ></View>
  );
}

export default Card;
