ReactMaterial3/dist/react-you-ui5.mjs

28 lines
609 B
JavaScript

import { jsx as n } from "react/jsx-runtime";
import a from "react";
import { usePalette as s } from "./react-you-ui6.mjs";
import { h as c } from "./string_utils-B4bsIQ5w.mjs";
import { o as l } from "./create-component-CVXl33PD.mjs";
const i = l({
tagName: "a",
elementClass: HTMLAnchorElement,
react: a
}), y = (o) => {
const e = s(), { style: r, color: t = c(e.primary), ...m } = o;
return /* @__PURE__ */ n(
i,
{
style: {
color: t,
textDecorationColor: t,
textDecoration: "underline",
...r
},
...m
}
);
};
export {
y as Link
};