"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;

var _react = _interopRequireDefault(require("react"));

var _reactGridSystem = require("react-grid-system");

var _CodeCard = _interopRequireDefault(require("./CodeCard"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var CardContainer = function CardContainer(_ref) {
  var _ref$codeCards = _ref.codeCards,
      codeCards = _ref$codeCards === void 0 ? [] : _ref$codeCards;
  return _react["default"].createElement(_reactGridSystem.Row, {
    gutterWidth: 5
  }, codeCards.map(function (card) {
    return _react["default"].createElement(_reactGridSystem.Col, {
      xs: 6
    }, _react["default"].createElement(_CodeCard["default"], {
      code: card.code,
      src: card.src
    }));
  }));
};

var _default = CardContainer;
exports["default"] = _default;