import { cs } from "../utils/styles.js";
import "../utils/index.js";
import { useStyleConfig } from "../core/theme.js";
import { vui } from "../core/vui.js";
import t_default from "../t/t.js";
import "../t/index.js";
import "../core/index.js";
import { useLinkContext } from "./context.js";
import { jsx } from "react/jsx-runtime";

//#region src/link/linkText.tsx
/** Displays text of the Link. */
const LinkText = vui((props, ref) => {
	const { className, ...rest } = props;
	const styles = useStyleConfig("Link", useLinkContext());
	return /* @__PURE__ */ jsx(t_default, {
		className: cs("vui-linkText", className),
		fontSize: "inherit",
		ref,
		transitionDuration: "unset",
		...styles.text,
		...rest
	});
});
LinkText.displayName = "LinkText";
var linkText_default = LinkText;

//#endregion
export { LinkText, linkText_default as default };
globalThis.__vuiVersion__ = "4.0.0-beta.1"
//# sourceMappingURL=linkText.js.map