"use client";
import { createSplitProps } from "../../utils/create-split-props.js";
import { ark } from "../factory.js";
import { useFileUploadContext } from "./use-file-upload-context.js";
import { forwardRef } from "react";
import { mergeProps } from "@zag-js/react";
import { jsx } from "react/jsx-runtime";
//#region src/components/file-upload/file-upload-dropzone.tsx
var splitDropzoneProps = createSplitProps();
var FileUploadDropzone = forwardRef((props, ref) => {
	const [dropzoneProps, localProps] = splitDropzoneProps(props, ["disableClick"]);
	const mergedProps = mergeProps(useFileUploadContext().getDropzoneProps(dropzoneProps), localProps);
	return /* @__PURE__ */ jsx(ark.div, {
		...mergedProps,
		ref
	});
});
FileUploadDropzone.displayName = "FileUploadDropzone";
//#endregion
export { FileUploadDropzone };
