"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

exports.__esModule = true;
exports.Vouchers = void 0;

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

var _Common = require("../Common");

var _Components = require("./Components");

var Vouchers = function Vouchers(props) {
  var header = props.header,
      withArrows = props.withArrows,
      small = props.small,
      vouchers = props.vouchers;
  return /*#__PURE__*/_react["default"].createElement(_Common.CarouselComponent, {
    slides: vouchers,
    header: header,
    withArrows: withArrows,
    small: small,
    renderSlide: function renderSlide(item) {
      return /*#__PURE__*/_react["default"].createElement(_Components.Slide, {
        item: item
      });
    }
  });
};

exports.Vouchers = Vouchers;
//# sourceMappingURL=vouchers.component.js.map