import { jsx, Fragment } from 'react/jsx-runtime';
import Drawer from '../../Drawer/Drawer.js';

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 { LayoutWithDrawer as default };
//# sourceMappingURL=LayoutWithDrawer.js.map
