ReactMaterial3/dist/react-you-ui5.mjs

28 lines
613 B
JavaScript

import { jsx as p } from "react/jsx-runtime";
import { usePalette as x } from "./react-you-ui6.mjs";
import { h as t } from "./string_utils-B4bsIQ5w.mjs";
const d = (e) => {
const r = x(), { href: o, target: a, rel: i, children: s, className: l, id: m, style: n, ...c } = e;
return /* @__PURE__ */ p(
"a",
{
href: o,
target: a,
rel: i,
className: l,
id: m,
style: {
color: t(r.primary),
textDecorationColor: t(r.primary),
textDecoration: "underline",
...n
},
...c,
children: s
}
);
};
export {
d as Link
};