UNPKG

infinity-ui-elements

Version:

A React TypeScript component library with Tailwind CSS design system

24 lines 1.19 kB
import * as React from "react"; declare const linkVariants: (props?: ({ type?: "anchor" | "action" | null | undefined; color?: "info" | "white" | "primary" | "positive" | "negative" | "notice" | "neutral" | null | undefined; size?: "medium" | "large" | "small" | "xsmall" | null | undefined; isIconOnly?: boolean | null | undefined; isDisabled?: boolean | null | undefined; } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string; export interface LinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "color"> { type?: "anchor" | "action"; color?: "primary" | "positive" | "negative" | "notice" | "info" | "neutral" | "white"; size?: "xsmall" | "small" | "medium" | "large"; isIconOnly?: boolean; isDisabled?: boolean; asChild?: boolean; showIcon?: boolean; icon?: React.ReactNode; leadingIcon?: React.ReactNode; trailingIcon?: React.ReactNode; onClick?: (e: React.MouseEvent<HTMLAnchorElement>) => void; } declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>; export { Link, linkVariants }; //# sourceMappingURL=Link.d.ts.map