DeleteLectureModal component. This component is responsible for displaying a modal that allows users to delete a lecture. It uses the open, onClose, onDelete, onCloseLecture, and lecture props to determine the current state of the modal and to handle user interactions. The modal contains a title, a description of the lecture to be deleted, and two buttons: one to delete the lecture and one to close the lecture.

  • Parameters

    • props: DeleteLectureModalProps

      The props that define the state and behavior of the modal.

    Returns ReactNode | Promise<ReactNode>

    The rendered DeleteLectureModal component.