import { renderValueWithMap } from "../../dataSourceForm/utils.js";
import useValueMap from "../../hooks/useValueMap.js";
//#region src/components/dataSourceComponents/fields/Radio/ReadPretty.tsx
const RadioReadPretty = (props) => {
	const { value } = props;
	return renderValueWithMap(value);
};
const RadioGroupReadPretty = (props) => {
	const { value, options, renderMode } = props;
	return renderValueWithMap(value, useValueMap(options || []), renderMode);
};
RadioReadPretty.Group = RadioGroupReadPretty;
//#endregion
export { RadioReadPretty as default };
