const require_runtime = require("../../../../_virtual/_rolldown/runtime.js");
const require_objectSpread2 = require("../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js");
const require_index = require("../../../icon/index.js");
let react = require("react");
react = require_runtime.__toESM(react);
let antd = require("antd");
require("./ReadPretty.less");
//#region src/components/dataSourceComponents/fields/IconSelect/ReadPretty.tsx
const IconSelectReadPretty = (props) => {
	if (!props.value) return null;
	return /* @__PURE__ */ react.default.createElement(antd.Button, {
		size: "large",
		icon: /* @__PURE__ */ react.default.createElement(require_index.default, require_objectSpread2._objectSpread2({ type: props.value }, props)),
		className: "pisell-icon-select-read-pretty"
	});
};
//#endregion
exports.default = IconSelectReadPretty;
