function BgGray({ isActive, setIsActive }) {
  return (
    <div
      onClick={() => setIsActive(false)}
      className={`
                md:hidden ${
                  isActive
                    ? "bg-[#232323] opacity-40 flex"
                    : "bg-transparent opacity-40 hidden"
                }
                absolute z-[25] cursor-pointer transition-all duration-500 left-0 top-0 w-screen h-screen
            `}
    ></div>
  );
}

export default BgGray;
