"use client";
import { ark } from "../factory.js";
import { useAvatarContext } from "./use-avatar-context.js";
import { forwardRef } from "react";
import { mergeProps } from "@zag-js/react";
import { jsx } from "react/jsx-runtime";
//#region src/components/avatar/avatar-image.tsx
var AvatarImage = forwardRef((props, ref) => {
	const mergedProps = mergeProps(useAvatarContext().getImageProps(), props);
	return /* @__PURE__ */ jsx(ark.img, {
		...mergedProps,
		ref
	});
});
AvatarImage.displayName = "AvatarImage";
//#endregion
export { AvatarImage };
