const require_runtime = require("../../_virtual/_rolldown/runtime.js");
const require_objectSpread2 = require("../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js");
let react = require("react");
react = require_runtime.__toESM(react);
let antd = require("antd");
//#region src/components/slider/index.tsx
const SliderOuter = (props) => {
	const { range } = props;
	let { defaultValue } = props;
	if (range) defaultValue = Array.isArray(defaultValue) ? defaultValue : [0, defaultValue];
	else defaultValue = Array.isArray(defaultValue) ? defaultValue[1] || defaultValue[0] : defaultValue;
	return /* @__PURE__ */ react.default.createElement(antd.Slider, require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, props), {}, { defaultValue }));
};
//#endregion
exports.default = SliderOuter;
