react-native-sticky-range-slider
Version:
[React Native | TypeScript] A pure TypeScript component offering a customizable range slider optimized for performance. It supports dragging functionalities for selecting a range of values, with values that smoothly follow the thumb. This component is ful
19 lines • 549 B
JavaScript
import React, { memo } from 'react';
import { StyleSheet, View } from 'react-native';
import { COLORS } from '../constants/colors';
const THUMB_RADIUS = 10;
const Thumb = () => /*#__PURE__*/React.createElement(View, {
style: styles.thumb
});
const styles = StyleSheet.create({
thumb: {
width: THUMB_RADIUS * 2,
height: THUMB_RADIUS * 2,
borderRadius: THUMB_RADIUS,
borderWidth: 1,
borderColor: COLORS.white,
backgroundColor: COLORS.purple
}
});
export default /*#__PURE__*/memo(Thumb);
//# sourceMappingURL=Thumb.js.map