import { __rest, __assign } from '../../node_modules/tslib/tslib.es6.js';
import React from 'react';
import { RangeSlider as RangeSlider$1, RangeSliderTrack, RangeSliderFilledTrack, RangeSliderThumb } from '@chakra-ui/react';

var RangeSlider = function (_a) {
    var _b = _a.min, min = _b === void 0 ? 0 : _b, _c = _a.max, max = _c === void 0 ? 10 : _c, restProps = __rest(_a, ["min", "max"]);
    return (React.createElement(RangeSlider$1, __assign({ "aria-label": ['min', 'max'], defaultValue: [min, max], min: min, max: max }, restProps),
        React.createElement(RangeSliderTrack, { bg: "gray.200" },
            React.createElement(RangeSliderFilledTrack, null)),
        React.createElement(RangeSliderThumb, { boxSize: { base: 32, sm: 24 }, index: 0 }),
        React.createElement(RangeSliderThumb, { boxSize: { base: 32, sm: 24 }, index: 1 })));
};

export { RangeSlider as default };
//# sourceMappingURL=index.js.map
