"use client";
import { createSplitProps } from "../../utils/create-split-props.js";
import { ark } from "../factory.js";
import { usePaginationContext } from "./use-pagination-context.js";
import { forwardRef } from "react";
import { mergeProps } from "@zag-js/react";
import { jsx } from "react/jsx-runtime";
//#region src/components/pagination/pagination-ellipsis.tsx
var splitEllipsisProps = createSplitProps();
var PaginationEllipsis = forwardRef((props, ref) => {
	const [ellipsisProps, localProps] = splitEllipsisProps(props, ["index"]);
	const mergedProps = mergeProps(usePaginationContext().getEllipsisProps(ellipsisProps), localProps);
	return /* @__PURE__ */ jsx(ark.div, {
		...mergedProps,
		ref
	});
});
PaginationEllipsis.displayName = "PaginationEllipsis";
//#endregion
export { PaginationEllipsis };
