import { cs } from "../utils/styles.js";
import { useStyleConfig } from "../core/theme.js";
import vui from "../core/vui.js";
import T from "../t/t.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, {
		className: cs("vui-linkText", className),
		fontSize: "inherit",
		ref,
		transitionDuration: "unset",
		...styles.text,
		...rest
	});
});
LinkText.displayName = "LinkText";

//#endregion
export { LinkText as default };
globalThis.__vuiVersion__ = "4.0.1"
//# sourceMappingURL=linkText.js.map