import { XIcon } from "@heroicons/react/solid"; import { useState } from "react"; import { Dialog, DialogContent } from "@calcom/ui/Dialog"; const FullScreenDialog = (props: React.PropsWithChildren<{ open: boolean }>) => { const [open, setOpen] = useState(props.open); return ( <> setOpen(false)}>
setOpen(false)} style={{ position: "absolute", top: 16, right: 16, zIndex: "inherit", }}>
{props.children}
); }; export { FullScreenDialog };