"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.default = void 0;
var _react = _interopRequireWildcard(require("react"));
var _FooterSt = require("./Footer.st.css.js");
var _constants = require("../../constants");
var _Divider = _interopRequireDefault(require("../../../Divider"));
var _jsxFileName = "/home/builduser/work/57e038ea7326c1ec/packages/wix-design-system/dist/cjs/SidePanel/components/Footer/Footer.tsx";
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
class Footer extends _react.PureComponent {
  render() {
    var {
      children,
      className,
      showDivider,
      noPadding,
      dataHook
    } = this.props;
    return /*#__PURE__*/_react.default.createElement("div", {
      className: (0, _FooterSt.st)(_FooterSt.classes.root, {}, className),
      "data-hook": dataHook || _constants.dataHooks.sidePanelFooter,
      __self: this,
      __source: {
        fileName: _jsxFileName,
        lineNumber: 18,
        columnNumber: 7
      }
    }, showDivider && /*#__PURE__*/_react.default.createElement(_Divider.default, {
      className: _FooterSt.classes.divider,
      dataHook: _constants.dataHooks.sidePanelHeaderDivider,
      __self: this,
      __source: {
        fileName: _jsxFileName,
        lineNumber: 23,
        columnNumber: 11
      }
    }), /*#__PURE__*/_react.default.createElement("div", {
      className: (0, _FooterSt.st)(_FooterSt.classes.footerContainer, {
        noPadding
      }),
      __self: this,
      __source: {
        fileName: _jsxFileName,
        lineNumber: 28,
        columnNumber: 9
      }
    }, children));
  }
}
Footer.displayName = 'Footer';
Footer.defaultProps = {
  showDivider: true,
  noPadding: false
};
var _default = exports.default = Footer;
//# sourceMappingURL=Footer.js.map