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>Name</p>
          <p>{props?.data?.name}</p>
        </div>
        <div className={styles.list}>
          <p>Organization ID</p>
          <p>{props?.data?.organizationId}</p>
        </div>
      </div>
      <div className={styles.cardAction}>
        <DeleteIcon />
      </div>
    </div>
  );
};

export default Card;
