ReactMaterial3/dist/react-you-ui5.mjs

27 lines
565 B
JavaScript

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