@veracity/vui
Version:
Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.
25 lines (23 loc) • 840 B
JavaScript
import { cs } from "../utils/styles.js";
import { useStyleConfig } from "../core/theme.js";
import vui from "../core/vui.js";
import { T } from "../t/t.js";
import { useNotificationContext } from "./context.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),
ref,
...styles.text,
...rest
});
});
NotificationText.displayName = "NotificationText";
//#endregion
export { NotificationText, NotificationText as default };
globalThis.__vuiVersion__ = "5.3.1"
//# sourceMappingURL=notificationText.js.map