"use client";
import { ark } from "../factory.js";
import { useEditableContext } from "./use-editable-context.js";
import { forwardRef } from "react";
import { mergeProps } from "@zag-js/react";
import { jsx } from "react/jsx-runtime";
//#region src/components/editable/editable-edit-trigger.tsx
var EditableEditTrigger = forwardRef((props, ref) => {
	const mergedProps = mergeProps(useEditableContext().getEditTriggerProps(), props);
	return /* @__PURE__ */ jsx(ark.button, {
		...mergedProps,
		ref
	});
});
EditableEditTrigger.displayName = "EditableEditTrigger";
//#endregion
export { EditableEditTrigger };
