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/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, {
		className: cs("vui-notificationText", className),
		flex: "1",
		lineHeight: "24px",
		minW: 0,
		mx: "16px",
		my: "16px",
		ref,
		...styles.text,
		...rest
	});
});
NotificationText.displayName = "NotificationText";

//#endregion
export { NotificationText as default };
globalThis.__vuiVersion__ = "4.0.1"
//# sourceMappingURL=notificationText.js.map