"use client";
import { parts } from "./segment-group.anatomy.js";
import { ark } from "../factory.js";
import { useSegmentGroupContext } from "./use-segment-group-context.js";
import { forwardRef } from "react";
import { mergeProps } from "@zag-js/react";
import { jsx } from "react/jsx-runtime";
//#region src/components/segment-group/segment-group-indicator.tsx
var SegmentGroupIndicator = forwardRef((props, ref) => {
	const mergedProps = mergeProps(useSegmentGroupContext().getIndicatorProps(), parts.indicator.attrs, props);
	return /* @__PURE__ */ jsx(ark.div, {
		...mergedProps,
		ref
	});
});
SegmentGroupIndicator.displayName = "SegmentGroupIndicator";
//#endregion
export { SegmentGroupIndicator };
