import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { VModal, VModalBody, VModalTitle } from "@vertesia/ui/core";
import { SelectDocument } from "./SelectDocument";
export function SelectDocumentModal({ isOpen, onClose }) {
    return (_jsxs(VModal, { onClose: () => onClose(), isOpen: !!isOpen, className: 'min-w-[60vw]', children: [_jsx(VModalTitle, { children: "Select Content" }), _jsx(VModalBody, { className: 'pt-0 overflow-y-auto max-h-[80vh] min-h-[80vh]', children: isOpen && _jsx(SelectDocument, { onChange: onClose }) })] }));
}
//# sourceMappingURL=SelectDocumentModal.js.map