"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "SliderCore", {
    enumerable: true,
    get: function() {
        return SliderCore;
    }
});
var _react = /*#__PURE__*/ _interop_require_default(require("react"));
var _Single = require("./Single");
var _Double = require("./Double");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
var isSingleValueProps = function isSingleValueProps(props) {
    return typeof props.value === 'number';
};
var SliderCore = function SliderCore(props) {
    if (isSingleValueProps(props)) {
        return /*#__PURE__*/ _react.default.createElement(_Single.Slider, props);
    }
    return /*#__PURE__*/ _react.default.createElement(_Double.Slider, props);
};
