import React from "react";
import { InputNumber } from "antd";
//#region src/components/pisellPercent/components/DisabledView.tsx
/**
* PisellPercent 禁用态视图组件
* 
* 负责渲染禁用态的输入框
* 
* @param props 组件 Props
*/
const DisabledView = (props) => {
	const { value, showPercentSymbol = true, precision = 1, range = [0, 100], min = range[0], max = range[1], step, placeholder, size, controls, className, style, id, name } = props;
	const suffixNode = showPercentSymbol ? "%" : void 0;
	return /* @__PURE__ */ React.createElement("div", { className: `pisell-percent pisell-percent-disabled ${className || ""}` }, /* @__PURE__ */ React.createElement(InputNumber, {
		disabled: true,
		value,
		min,
		max,
		step,
		precision,
		suffix: suffixNode,
		placeholder,
		size,
		controls,
		style,
		id,
		name
	}));
};
//#endregion
export { DisabledView as default };
