import React from 'react'; import { Intergalactic, UnknownProperties } from 'intergalactic/core'; import { TextProps } from 'intergalactic/typography'; import { BoxProps } from 'intergalactic/flex-box'; import { KeyboardFocusProps } from 'intergalactic/utils/lib/enhances/keyboardFocusEnhance'; /** @deprecated */ export interface ILinkProps extends LinkProps, UnknownProperties {} export type LinkProps = TextProps & KeyboardFocusProps & { /** * CSS property of the display link (inline|inline-block) * @default false */ inline?: boolean; /** * Sets the link to the disabled state */ disabled?: boolean; /** * Sets the link to the active state */ active?: boolean; /** This flag enables highlighting of the visited link */ enableVisited?: boolean; /** The text will not be moved to a new line * @default true */ noWrap?: boolean; /** Left addon tag */ addonLeft?: React.ElementType; /** Right addon tag */ addonRight?: React.ElementType; }; declare const Link: Intergalactic.Component<'a', LinkProps> & { Text: Intergalactic.Component<'span', TextProps>; Addon: Intergalactic.Component<'span', BoxProps>; }; export default Link;