1 | import { AnchorHTMLAttributes, FunctionComponent, MouseEvent } from 'react';
|
2 | export interface LinkStylesProps {
|
3 | secondary?: boolean;
|
4 | tertiary?: boolean;
|
5 | nochrome?: boolean;
|
6 | inverse?: boolean;
|
7 | isButton?: boolean;
|
8 | }
|
9 | export interface LinkInnerProps {
|
10 | withArrow?: boolean;
|
11 | containsIcon?: boolean;
|
12 | }
|
13 | declare type AProps = AnchorHTMLAttributes<HTMLAnchorElement>;
|
14 | export interface LinkProps extends LinkInnerProps, LinkStylesProps {
|
15 | cancel?: boolean;
|
16 | className?: string;
|
17 | style?: object;
|
18 | onClick?: (e: MouseEvent) => void;
|
19 | href?: string;
|
20 | }
|
21 | export declare const Link: FunctionComponent<LinkProps & AProps>;
|
22 | export {};
|