UNPKG

@gorhom/bottom-sheet

Version:

A performant interactive bottom sheet with fully configurable options 🚀

13 lines (11 loc) • 288 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.clamp = void 0; const clamp = (value, lowerBound, upperBound) => { 'worklet'; return Math.min(Math.max(lowerBound, value), upperBound); }; exports.clamp = clamp; //# sourceMappingURL=clamp.js.map