"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "SimpleSheet", {
    enumerable: true,
    get: function() {
        return SimpleSheet;
    }
});
const _jsxruntime = require("react/jsx-runtime");
const _sheet = require("./sheet");
const SimpleSheet = (props)=>{
    return /*#__PURE__*/ (0, _jsxruntime.jsx)(_sheet.Sheet, {
        open: props.open,
        onOpenChange: (open)=>{
            if (!open) {
                props.onClose?.();
            }
        },
        children: /*#__PURE__*/ (0, _jsxruntime.jsxs)(_sheet.SheetContent, {
            children: [
                /*#__PURE__*/ (0, _jsxruntime.jsx)(_sheet.SheetHeader, {
                    children: props.title
                }),
                props.children
            ]
        })
    });
};

//# sourceMappingURL=simpleSheet.js.map