"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
exports.setDefaultHandleAriaLabel = setDefaultHandleAriaLabel;
var _react = _interopRequireDefault(require("react"));
var _rheostat = _interopRequireDefault(require("rheostat"));
var _jsxRuntime = require("react/jsx-runtime");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
var _default = exports.default = {
  withProps(Component, props) {
    return nativeProps => {
      const allProps = Object.assign({}, nativeProps, props);
      return /*#__PURE__*/(0, _jsxRuntime.jsx)(Component, {
        ...allProps
      });
    };
  }
};
function setDefaultHandleAriaLabel(value) {
  _rheostat.default.defaultProps.handle.defaultProps['aria-label'] = value;
}