"use client";

import AppContext from "@ctx/AppContext";
import React, { useContext } from "react";
import { BottomSheet } from "react-spring-bottom-sheet";
import { toast } from "react-toastify";

const BottomSheetCart = (props) => {
  const CTX = useContext(AppContext);

  return (
    <BottomSheet
      open={CTX.state.bottomSheetCart}
      onDismiss={() => CTX.setBottomSheetCart(false)}
    >
      <div className="text-center py-2 bg-primary-300  ">
        <p className="mb-0 text-white relative top-[-5px]">افزودن نقش جدید</p>
      </div>

      <div className="bg-body-100 p-4"></div>
    </BottomSheet>
  );
};

export default BottomSheetCart;
