"use client";
import { createSplitProps } from "../../utils/create-split-props.js";
import { ark } from "../factory.js";
import { useTimerContext } from "./use-timer-context.js";
import { forwardRef } from "react";
import { mergeProps } from "@zag-js/react";
import { jsx } from "react/jsx-runtime";
//#region src/components/timer/timer-action-trigger.tsx
var splitActionTriggerProps = createSplitProps();
var TimerActionTrigger = forwardRef((props, ref) => {
	const [actionTriggerProps, localProps] = splitActionTriggerProps(props, ["action"]);
	const mergedProps = mergeProps(useTimerContext().getActionTriggerProps(actionTriggerProps), localProps);
	return /* @__PURE__ */ jsx(ark.button, {
		...mergedProps,
		ref
	});
});
TimerActionTrigger.displayName = "TimerActionTrigger";
//#endregion
export { TimerActionTrigger };
