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

var _templateObject;

import React from 'react';
import styled from 'styled-components';
export var QuantityList = (_ref) => {
  var {
    placeholder
  } = _ref;
  var quantityArray = new Array(20).fill(0).map((el, i) => i + 1);
  return /*#__PURE__*/React.createElement(React.Fragment, null, ' ', /*#__PURE__*/React.createElement(Size, {
    value: "",
    selected: true,
    disabled: true,
    hidden: true
  }, placeholder), quantityArray.map(num => {
    return /*#__PURE__*/React.createElement(Size, {
      key: "quantity__" + num,
      value: num
    }, num);
  }));
};
var Size = styled.option.attrs({
  className: 'py-3 my-3'
})(_templateObject || (_templateObject = _taggedTemplateLiteralLoose([""])));
//# sourceMappingURL=index.js.map