import Modal from "@/components/elements/Modal";
import React from "react";

interface IBillboardModalProps {
  showDescriptionModal: boolean;
  setShowDescriptionModal: (e: boolean) => void;
  description?: string | null;
}
function BillboardDescriptionModal({
  showDescriptionModal,
  setShowDescriptionModal,
  description,
}: IBillboardModalProps) {
  return (
    <Modal
      isOpen={showDescriptionModal}
      onClose={() => setShowDescriptionModal(false)}
      height="450px"
    >
      <div className="flex flex-col items-center mx-auto pb-16 max-w-sm">
        <span className="font-bold text-lg my-2">اطلاعات تماس</span>
        <h6 className="mt-2 leading-6">{description}</h6>
      </div>
    </Modal>
  );
}

export default BillboardDescriptionModal;
