Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/ui / dist / components / atoms / Link / typings.d.ts
Size: Mime:
import { ReactNode } from 'react';
export interface LinkRenderProp {
    (props?: LinkProps): ReactNode;
}
/**
 * PROPS
 */
export interface LinkProps {
    className?: string;
    activeClassName?: string;
    text?: string;
    children?: ReactNode;
    /**
     * @todo @requires href|to|link|url|onClick
     *
     * Have to use any one of, not multiple
     * since below are the props are doing same job
     * this is created for only user-friendly
     */
    href?: string;
    to: string;
    link?: string;
    url?: string;
    onClick?: Function;
    /**
     * used to set the prefix for the url
     * will be very useful the when the url has relative url
     */
    urlBase?: string;
    target?: string;
    /**
     * used to set role="nofollow"
     * https://support.google.com/webmasters/answer/96569?hl=en
     */
    nofollow?: boolean;
    shouldNotFollow?: boolean;
    dataQa?: string;
    /**
     * Reusable renderProps
     */
    renderLink?: LinkRenderProp;
    renderChildren?: LinkRenderProp;
}