"use strict";

var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;

var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));

var _react = _interopRequireWildcard(require("react"));

var _forms = require("@rebass/forms");

var TransparentSelect = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
  return /*#__PURE__*/_react["default"].createElement(_forms.Select, (0, _extends2["default"])({
    ref: ref,
    css: {
      '&::-ms-expand': {
        display: 'none'
      },
      color: 'inherit',
      border: 'none',
      fontSize: [2, 2, 2, 4],
      WebkitTapHighlightColor: 'transparent',
      // FF
      '&:invalid': {
        boxShadow: 'none'
      },
      '&:focus': {
        outline: 0
      },
      width: '100%'
    },
    px: 0
  }, props));
});
TransparentSelect.displayName = 'TransparentSelect';
var _default = TransparentSelect;
exports["default"] = _default;