import { ComponentChildren, VNode, h } from "preact"; export function Dialog({ children, onClose }: { onClose?: () => void; children: ComponentChildren }): VNode { return