import React from "react";
import styles from "./styles.module.css";
import CircledChececkIcon from "../../icons/circledCheck";
import ToastCloseIcon from "../../icons/toastClose";
const SuccessToast = ({ message }) => {
  return (
    <div className={styles.toastContainer}>
      <div className={styles.messageContainer}>
        <div className={styles.iconContainer}>
          <CircledChececkIcon />
        </div>
        <p>{message}</p>
      </div>
      <ToastCloseIcon />
    </div>
  );
};

export default SuccessToast;
