UNPKG

@payfit/unity-components

Version:

20 lines (19 loc) 606 B
import { Text as e } from "../../text/Text.js"; import { useNavigationCardContext as t } from "../NavigationCard.context.js"; import { forwardRef as n } from "react"; import { jsx as r } from "react/jsx-runtime"; //#region src/components/navigation-card/parts/NavigationCardLabel.tsx var i = n((n, i) => { let { labelId: a } = t(); return /* @__PURE__ */ r(e, { id: a, ...n, ref: i, variant: "action", color: "content.neutral", className: "uy:group-aria-disabled:text-content-neutral-disabled" }); }); i.displayName = "NavigationCardLabel"; //#endregion export { i as NavigationCardLabel };