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

//#region src/notification/notificationText.tsx
/** Displays text within the Notification. */
const NotificationText = vui((props, ref) => {
	const { className, ...rest } = props;
	const styles = useStyleConfig("Notification", useNotificationContext());
	return /* @__PURE__ */ jsx(t_default, {
		className: cs("vui-notificationText", className),
		flex: "1",
		lineHeight: "24px",
		minW: 0,
		mx: "16px",
		my: "16px",
		ref,
		...styles.text,
		...rest
	});
});
NotificationText.displayName = "NotificationText";
var notificationText_default = NotificationText;

//#endregion
export { NotificationText, notificationText_default as default };
globalThis.__vuiVersion__ = "4.0.0-beta.1"
//# sourceMappingURL=notificationText.js.map