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