import { __rest, __assign } from '../../node_modules/tslib/tslib.es6.js';
import React from 'react';
import { DrawerContent as DrawerContent$1, DrawerCloseButton } from '@chakra-ui/react';

var DrawerContent = function (props) {
    var children = props.children, withCloseButton = props.withCloseButton, drawerContentProps = __rest(props, ["children", "withCloseButton"]);
    return (React.createElement(DrawerContent$1, __assign({}, drawerContentProps),
        withCloseButton && React.createElement(DrawerCloseButton, { fontSize: "base" }),
        children));
};

export { DrawerContent as default };
//# sourceMappingURL=DrawerContent.js.map
