"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.HiddenSelect = HiddenSelect;
var _react = _interopRequireDefault(require("react"));
var _styledComponents = _interopRequireDefault(require("styled-components"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var StyledSelect = _styledComponents.default.select.withConfig({
  displayName: "HiddenSelect__StyledSelect",
  componentId: "sc-h58ww-0"
})(["display:none;"]);
var NOOP = function NOOP() {};
function HiddenSelect(props) {
  var name = props.name,
    value = props.value,
    multiple = props.multiple,
    options = props.options;
  return _react.default.createElement(StyledSelect, {
    name: name,
    multiple: multiple,
    "aria-hidden": "true",
    value: value,
    onChange: NOOP
  }, options.map(function (option) {
    return _react.default.createElement("option", {
      key: option,
      value: option
    }, option);
  }));
}