import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
import Drawer from '../../Drawer';
const LayoutWithDrawer = ({ drawerProps, showDrawer, children, zIndex = 1200, top = '56px', }) => {
    return showDrawer ? (_jsx(Drawer, { isOpen: drawerProps?.isOpen ?? true, ...drawerProps, zIndex: zIndex, top: top, children: children })) : (_jsx(_Fragment, { children: children }));
};
export default LayoutWithDrawer;
//# sourceMappingURL=LayoutWithDrawer.js.map