"use client";
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-clear-trigger.tsx
var FileUploadClearTrigger = forwardRef((props, ref) => {
	const mergedProps = mergeProps(useFileUploadContext().getClearTriggerProps(), props);
	return /* @__PURE__ */ jsx(ark.button, {
		...mergedProps,
		ref
	});
});
FileUploadClearTrigger.displayName = "FileUploadClearTrigger";
//#endregion
export { FileUploadClearTrigger };
