"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _Content = _interopRequireDefault(require("./components/Content"));
var _Header = _interopRequireDefault(require("./components/Header"));
var _Subheader = _interopRequireDefault(require("./components/Subheader"));
var _Divider = _interopRequireDefault(require("./components/Divider"));
var _CardSt = require("./Card.st.css.js");
var _jsxFileName = "/home/builduser/work/57e038ea7326c1ec/packages/wix-design-system/dist/cjs/Card/Card.tsx";
var Card = _ref => {
  var {
    stretchVertically = false,
    showShadow = false,
    hideOverflow,
    highlight,
    className,
    children,
    controls,
    dataHook
  } = _ref;
  return /*#__PURE__*/_react.default.createElement("div", {
    className: (0, _CardSt.st)(_CardSt.classes.card, {
      stretchVertically,
      hideOverflow,
      showShadow,
      highlight
    }, className),
    "data-hook": dataHook,
    __self: void 0,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 19,
      columnNumber: 3
    }
  }, controls && /*#__PURE__*/_react.default.createElement("div", {
    className: _CardSt.classes.controls,
    __self: void 0,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 27,
      columnNumber: 18
    }
  }, controls), children);
};
Card.displayName = 'Card';
Card.Content = _Content.default;
Card.Header = _Header.default;
Card.Divider = _Divider.default;
Card.Subheader = _Subheader.default;
var _default = exports.default = Card;
//# sourceMappingURL=Card.js.map