"use client";
import { ark } from "../factory.js";
import { useImageCropperContext } from "./use-image-cropper-context.js";
import { forwardRef } from "react";
import { mergeProps } from "@zag-js/react";
import { jsx } from "react/jsx-runtime";
//#region src/components/image-cropper/image-cropper-handle.tsx
var ImageCropperHandle = forwardRef((props, ref) => {
	const { position, ...localProps } = props;
	const mergedProps = mergeProps(useImageCropperContext().getHandleProps({ position }), localProps);
	return /* @__PURE__ */ jsx(ark.div, {
		...mergedProps,
		ref
	});
});
ImageCropperHandle.displayName = "ImageCropperHandle";
//#endregion
export { ImageCropperHandle };
