import { j as jsxRuntimeExports } from '../node_modules/.pnpm/react@18.2.0/node_modules/react/jsx-runtime.js';
import { cva } from '../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js';
import styles from './link.module.css.js';

const link = cva(styles.link, {
    variants: {
        size: {
            small: styles["link-small"],
            medium: styles["link-medium"],
            large: styles["link-large"],
        },
    },
    defaultVariants: {
        size: "medium",
    },
});
/**
 * @deprecated Use the Link from @raystack/apsara/v1 instead.
 */
function Link({ children, className, size, ...props }) {
    return (jsxRuntimeExports.jsx("a", { className: link({ size, className }), ...props, children: children }));
}

export { Link };
//# sourceMappingURL=link.js.map
