// react import React, { Fragment } from "react"; // headless ui import { Transition, Dialog } from "@headlessui/react"; // icons import { XMarkIcon } from "@heroicons/react/24/outline"; type Props = { isOpen: boolean; onClose: () => void; modalTitle: string; children: React.ReactNode; }; export const WebViewModal = (props: Props) => { const { isOpen, onClose, modalTitle, children } = props; const handleClose = () => { onClose(); }; return (
{modalTitle}
{children}
); }; type OptionsProps = { options: Array<{ label: string; value: string | null; checked: boolean; icon?: any; onClick: () => void; }>; }; const Options: React.FC = ({ options }) => (
{options.map((option) => (
{option.icon}

{option.label}

))}
); WebViewModal.Options = Options; WebViewModal.Options.displayName = "WebViewModal.Options";