'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var _rollupPluginBabelHelpers = require('../../../../_virtual/_rollupPluginBabelHelpers.js');
var React = require('react');
var Thumb_styles = require('./Thumb.styles.js');

function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }

var React__default = /*#__PURE__*/_interopDefault(React);

var _excluded = ["min", "max", "value", "ariaValueMin", "ariaLabel", "disabled", "orientation"];
var Thumb = function Thumb(_ref) {
  var min = _ref.min,
    max = _ref.max,
    value = _ref.value,
    _ref$ariaValueMin = _ref.ariaValueMin,
    ariaValueMin = _ref$ariaValueMin === void 0 ? min : _ref$ariaValueMin,
    ariaLabel = _ref.ariaLabel,
    disabled = _ref.disabled,
    orientation = _ref.orientation,
    rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
  return /*#__PURE__*/React__default.default.createElement(Thumb_styles.ThumbBase, _rollupPluginBabelHelpers.extends({
    role: "slider",
    "aria-label": ariaLabel,
    "aria-valuemin": ariaValueMin,
    "aria-valuemax": max,
    "aria-valuenow": value,
    disabled: disabled,
    "aria-orientation": orientation
  }, rest));
};

exports.Thumb = Thumb;
//# sourceMappingURL=Thumb.js.map
