//#region src/components/PisellCards/components/PisellImageCard/utils/getImageObjectFit.ts
/**
* 根据填充模式获取对应的 CSS object-fit 值
* @param fillMode - 填充模式
* @returns CSS object-fit 值
*/
const getImageObjectFit = (fillMode = "cover") => {
	return {
		cover: "cover",
		contain: "contain",
		fill: "fill",
		none: "none"
	}[fillMode] || "cover";
};
//#endregion
exports.getImageObjectFit = getImageObjectFit;
