import { _objectSpread2 } from "../../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js";
import icon_default from "../../../icon/index.js";
import React from "react";
import { Button } from "antd";
import "./ReadPretty.less";
//#region src/components/dataSourceComponents/fields/IconSelect/ReadPretty.tsx
const IconSelectReadPretty = (props) => {
	if (!props.value) return null;
	return /* @__PURE__ */ React.createElement(Button, {
		size: "large",
		icon: /* @__PURE__ */ React.createElement(icon_default, _objectSpread2({ type: props.value }, props)),
		className: "pisell-icon-select-read-pretty"
	});
};
//#endregion
export { IconSelectReadPretty as default };
