import { cs } from "../utils/styles.js";
import { useStyleConfig } from "../core/theme.js";
import vui from "../core/vui.js";
import { useNotificationContext } from "./context.js";
import T from "../t/t.js";
import { jsx } from "react/jsx-runtime";

//#region src/notification/notificationTitle.tsx
/** Displays a title within the Notification. */
const NotificationTitle = vui((props, ref) => {
	const { className, ...rest } = props;
	const styles = useStyleConfig("Notification", useNotificationContext());
	return /* @__PURE__ */ jsx(T, {
		className: cs("vui-notificationTitle", className),
		fontWeight: "demi",
		ref,
		...styles.title,
		...rest
	});
});
NotificationTitle.displayName = "NotificationTitle";

//#endregion
export { NotificationTitle as default };
globalThis.__vuiVersion__ = "4.0.0-beta.1"
//# sourceMappingURL=notificationTitle.js.map