import { type ComponentProps, Show } from "solid-js"; import { Portal } from "solid-js/web"; import { useDialogContext } from "./dialog-context"; export interface DialogPortalProps extends ComponentProps {} /** * Portals its children into the `body` when the dialog is open. */ export function DialogPortal(props: DialogPortalProps) { const context = useDialogContext(); return ( ); }