"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports["default"] = Prize;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
require("./index.scss");
function Prize(props) {
  return /*#__PURE__*/React.createElement("div", {
    className: "page"
  }, props.list.map(function (item, index) {
    return /*#__PURE__*/React.createElement("div", {
      key: item.text + index,
      className: "prize"
    }, /*#__PURE__*/React.createElement("div", {
      className: "prize-item"
    }, /*#__PURE__*/React.createElement("div", {
      className: "itme-img"
    }, /*#__PURE__*/React.createElement("div", {
      className: "img",
      style: {
        backgroundImage: "url(" + item.img + ")"
      }
    })), /*#__PURE__*/React.createElement("div", (0, _extends2["default"])({}, props.Style, {
      className: "item-text"
    }), item.text)));
  }));
}