import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js";
import { _objectWithoutProperties } from "../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectWithoutProperties.js";
import React from "react";
import { Image } from "antd";
import image from "./image.png";
import avatar from "./avatar.png";
import product from "./product.png";
//#region src/components/image/index.tsx
const _excluded = ["fallbackType", "fallback"];
const defaultFallbackMap = {
	image,
	avatar,
	product
};
const Image$1 = (_ref) => {
	let { fallbackType = "image", fallback } = _ref, restProps = _objectWithoutProperties(_ref, _excluded);
	const finalFallback = fallback || defaultFallbackMap[fallbackType];
	return /* @__PURE__ */ React.createElement(Image, _objectSpread2(_objectSpread2({}, restProps), {}, { fallback: finalFallback }));
};
//#endregion
export { Image$1 as default };
