import DeleteIcon from "@/app/components/icons/delete";
import React from "react";
import styles from "./styles.module.css";

const Card = (props) => {
  return (
    <div className={styles.cardContainer}>
      <div className={styles.cardDetails}>
        <div className={styles.list}>
          <p>Organization Name</p>
          <p>{props?.data?.organizationName}</p>
        </div>
        <div className={styles.list}>
          <p>Date Created</p>
          <p>{props?.data?.dateCreated}</p>
        </div>
      </div>
      <div className={styles.cardAction}>
        <DeleteIcon />
      </div>
    </div>
  );
};

export default Card;
