import { _objectSpread2 } from "../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js";
import { _objectWithoutProperties } from "../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectWithoutProperties.js";
import React from "react";
import { InputNumber } from "antd";
//#region src/components/batch-editor/fields/Price/index.tsx
const _excluded = ["symbol"];
const Price = (props) => {
	const { symbol } = props, rest = _objectWithoutProperties(props, _excluded);
	return /* @__PURE__ */ React.createElement(InputNumber, _objectSpread2(_objectSpread2({
		keyboard: false,
		style: { width: "100%" },
		min: 0,
		prefix: symbol || "$",
		max: 999999,
		precision: 2,
		size: "large",
		controls: false
	}, rest), {}, { placeholder: rest.placeholder || "0.00" }));
};
//#endregion
export { Price as default };
