import _extends from "@babel/runtime/helpers/extends";
import "./index.scss";
export default 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", _extends({}, props.Style, {
      className: "item-text"
    }), item.text)));
  }));
}