UNPKG

@payfit/unity-components

Version:

24 lines (23 loc) • 804 B
import { Text as e } from "../../../../../core/components/text/Text.js"; import { useNavigationCardContext as t } from "../../../../../core/components/navigation-card/NavigationCard.context.js"; import { forwardRef as n } from "react"; import { jsx as r } from "react/jsx-runtime"; //#region src/modules/ai-kit/components/ai-outcome-card/parts/AIOutcomeCardDescription.tsx var i = n(({ children: n, ...i }, a) => { let { descriptionId: o, isFocused: s, isHovered: c } = t(), l = typeof n == "function" ? n({ isHovered: c, isFocused: s }) : n; return /* @__PURE__ */ r(e, { ...i, ref: a, id: o, color: "content.neutral.low", isTruncated: !0, variant: "bodySmall", children: l }); }); i.displayName = "AIOutcomeCardDescription"; //#endregion export { i as AIOutcomeCardDescription };