const require_runtime = require("../../../../_virtual/_rolldown/runtime.js");
const require_index = require("../../../iconfont/index.js");
const require_utils = require("../../dataSourceForm/utils.js");
const require_useValueMap = require("../../hooks/useValueMap.js");
let react = require("react");
react = require_runtime.__toESM(react);
require("./ReadPretty.less");
//#region src/components/dataSourceComponents/fields/Checkbox/ReadPretty.tsx
const CheckboxReadPretty = (props) => {
	const { value } = props;
	return value ? /* @__PURE__ */ react.default.createElement(require_index.default, {
		type: "pisell2-check",
		style: {
			color: "var(--theme-color)",
			fontSize: 20
		}
	}) : null;
};
const CheckboxGroupReadPretty = (props) => {
	const { value, options, renderMode } = props;
	return require_utils.renderValueWithMap(value, require_useValueMap.default(options || []), renderMode);
};
CheckboxReadPretty.Group = CheckboxGroupReadPretty;
//#endregion
exports.default = CheckboxReadPretty;
