UNPKG

react-native-awesome-slider

Version:

A versatile, responsive <Slider /> component for React Native and Web.

10 lines 307 B
/** * @summary Clamps a node with a lower and upper bound. * @example clamp(-1, 0, 100); // 0 clamp(1, 0, 100); // 1 clamp(101, 0, 100); // 100 * @worklet */ export declare const clamp: (value: number, lowerBound: number, upperBound: number) => number; //# sourceMappingURL=math.d.ts.map