Guaxu Docs
    Preparing search index...

    Type Alias LinkProps

    type LinkProps = {
        children?: ReactNode;
        href?: string;
        iconName?: IconName;
        isDisabled?: boolean;
        onClick?: () => void;
        size?: "sm" | "md";
        target?: "_self" | "_blank";
        variant: LinkVariants;
    }
    Index

    Properties

    children?: ReactNode

    Text content of the link

    href?: string

    URL to navigate to

    iconName?: IconName

    Icon name to display alongside the link text

    isDisabled?: boolean

    Whether the link is disabled

    false
    
    onClick?: () => void

    Callback function triggered when the link is clicked

    size?: "sm" | "md"

    Size of the link text

    'md'
    
    target?: "_self" | "_blank"

    Link target behavior

    '_self'
    
    variant: LinkVariants

    Visual variant/color of the link