import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { Sheet, SheetContent, SheetHeader } from "./sheet";
export const SimpleSheet = (props)=>{
    return /*#__PURE__*/ _jsx(Sheet, {
        open: props.open,
        onOpenChange: (open)=>{
            if (!open) {
                props.onClose?.();
            }
        },
        children: /*#__PURE__*/ _jsxs(SheetContent, {
            children: [
                /*#__PURE__*/ _jsx(SheetHeader, {
                    children: props.title
                }),
                props.children
            ]
        })
    });
};

//# sourceMappingURL=simpleSheet.js.map