import { Fragment } from "react"; import { Dialog, Transition } from "@headlessui/react"; import { CheckIcon } from "@heroicons/react/outline"; export default function Modal(props) { return (
{/* This element is to trick the browser into centering the modal contents. */}
{props.heading}

{props.description}

); }