"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Accordion = void 0;
var _react = _interopRequireDefault(require("react"));
var _styledComponents = _interopRequireDefault(require("styled-components"));
var _ = require("../..");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var Footer = _styledComponents.default.div.withConfig({
  displayName: "Accordion__Footer",
  componentId: "sc-rxw3nj-0"
})(["padding-top:", "px;"], function (p) {
  return p.theme.spacing.unit(3);
});
var Accordion = exports.Accordion = function Accordion(_ref) {
  var children = _ref.children,
    footer = _ref.footer;
  return _react.default.createElement(_react.default.Fragment, null, children, footer && _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(_.Separator, null), _react.default.createElement(Footer, null, footer)));
};