UNPKG

@nordcom/nordstar-accented

Version:
25 lines (24 loc) 616 B
import "react"; import { jsx as n } from "react/jsx-runtime"; import { forwardRef as s, cn as o } from "@nordcom/nordstar-system"; const p = s( ({ as: r = "span", color: e = "default", className: t, ...a }, d) => /* @__PURE__ */ n( r, { ...a, ref: d, className: o( "contents", e === "foreground" && "text-foreground", (e === "default" || e === "primary") && "text-primary", e === "secondary" && "text-secondary", t ) } ) ); p.displayName = "Nordstar.Typography.Accented"; export { p as default }; //# sourceMappingURL=accented.js.map