import _taggedTemplateLiteralLoose from "@babel/runtime/helpers/taggedTemplateLiteralLoose";

var _templateObject;

import React from 'react';
import styled from 'styled-components';
import { PromotionItem } from '../PromotionItem';
export var PromotionsList = (_ref) => {
  var {
    data,
    labels
  } = _ref;
  return /*#__PURE__*/React.createElement(Container, null, data == null ? void 0 : data.results.map(item => /*#__PURE__*/React.createElement(PromotionItem, {
    key: item._id,
    item: item,
    labels: labels
  })));
};
var Container = styled.div.attrs({
  className: 'd-flex flex-wrap'
})(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n  @media (min-width: ", ") {\n    margin-left: -0.8rem;\n  }\n"])), (_ref2) => {
  var {
    theme
  } = _ref2;
  return theme.breakpoints.lg.min;
});
//# sourceMappingURL=index.js.map