import React from 'react';
import Rheostat from 'rheostat';
import { jsx as _jsx } from "react/jsx-runtime";
export default {
  withProps(Component, props) {
    return nativeProps => {
      const allProps = Object.assign({}, nativeProps, props);
      return /*#__PURE__*/_jsx(Component, {
        ...allProps
      });
    };
  }
};
export function setDefaultHandleAriaLabel(value) {
  Rheostat.defaultProps.handle.defaultProps['aria-label'] = value;
}