"use client";
const require_factory = require("../factory.cjs");
const require_use_tour_context = require("./use-tour-context.cjs");
let react = require("react");
let _zag_js_react = require("@zag-js/react");
let react_jsx_runtime = require("react/jsx-runtime");
//#region src/components/tour/tour-title.tsx
var TourTitle = (0, react.forwardRef)((props, ref) => {
	const tour = require_use_tour_context.useTourContext();
	const mergedProps = (0, _zag_js_react.mergeProps)(tour.getTitleProps(), props);
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_factory.ark.h2, {
		...mergedProps,
		ref,
		children: mergedProps.children || tour.step?.title
	});
});
TourTitle.displayName = "TourTitle";
//#endregion
exports.TourTitle = TourTitle;
