import React from 'react';
import { observer } from 'mobx-react-lite';
import { Box, CustomModalLayout, } from '@wix/design-system';
import { st, classes } from './PickerContent.st.css.js';
function _PickerContentBaseWrapped(props) {
    const { className, children, onCloseButtonClick, closeButtonProps, ...rest } = props;
    return (React.createElement(CustomModalLayout, { className: st(classes.root, {}, className), removeContentPadding: true, showFooterDivider: true, closeButtonProps: {
            autoFocus: true,
            ...closeButtonProps,
            onClick: (event) => {
                onCloseButtonClick?.(event);
                closeButtonProps?.onClick?.(event);
            },
        }, ...rest },
        React.createElement(Box, { height: "100%", flex: 1, direction: "vertical" }, children)));
}
export const PickerContentBaseWrapped = observer(_PickerContentBaseWrapped);
//# sourceMappingURL=PickerContentBaseWrapped.js.map