import { cs } from "../utils/styles.js";
import { useStyleConfig } from "../core/theme.js";
import vui from "../core/vui.js";
import Link from "../link/link.js";
import { useFooterContext } from "./context.js";
import { jsx } from "react/jsx-runtime";

//#region src/footer/footerLink.tsx
/** Individual link item of the Footer. */
const FooterLink = vui((props, ref) => {
	const { className, py, ...rest } = props;
	const styles = useStyleConfig("Footer", useFooterContext());
	return /* @__PURE__ */ jsx(Link, {
		className: cs("vui-footerLink", className),
		display: "inline-block",
		py: py ?? {
			_: .5,
			xs: 0,
			sm: 0,
			md: .5
		},
		ref,
		size: {
			_: "sm",
			md: "md"
		},
		variant: "white",
		...styles.link,
		...rest
	});
});
FooterLink.displayName = "FooterLink";

//#endregion
export { FooterLink as default };
globalThis.__vuiVersion__ = "4.0.0-beta.1"
//# sourceMappingURL=footerLink.js.map