react-aria
Version:
Spectrum UI components in React
17 lines (12 loc) • 691 B
JavaScript
function $parcel$export(e, n, v, s) {
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
}
$parcel$export(module.exports, "sliderData", function () { return $360420b928cc5d13$export$d6c8d9636a3dc49c; });
$parcel$export(module.exports, "getSliderThumbId", function () { return $360420b928cc5d13$export$68e648cbec363a18; });
const $360420b928cc5d13$export$d6c8d9636a3dc49c = new WeakMap();
function $360420b928cc5d13$export$68e648cbec363a18(state, index) {
let data = $360420b928cc5d13$export$d6c8d9636a3dc49c.get(state);
if (!data) throw new Error('Unknown slider state');
return `${data.id}-${index}`;
}
//# sourceMappingURL=utils.cjs.map