'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var _tslib = require('../../../../_virtual/_tslib.js');
var React = require('react');
var styles = require('./styles.js');

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

var React__default = /*#__PURE__*/_interopDefaultLegacy(React);

function BottomSheetBody(_a) {
    var { hasBodyPadding = true, children, bodyRef, id } = _a, props = _tslib.__rest(_a, ["hasBodyPadding", "children", "bodyRef", "id"]);
    return (React__default['default'].createElement(styles.BottomSheetBodyWrapper, Object.assign({}, props, { hasBodyPadding: hasBodyPadding, "data-testid": `${props['data-testid']}-bottom-sheet-body`, ref: bodyRef, id: id }), children));
}

exports.BottomSheetBody = BottomSheetBody;
