import * as React from 'react'; import { AnchorProps } from '../Anchor'; import { IconName } from '../Icon'; export interface IconLinkProps extends AnchorProps { /** * Sets the icon link as a block. */ block?: boolean; /** * The name of the icon to display. */ icon: IconName; /** * Controls the icon's color style. * If `true`, the icon will be colored with the theme's `ui0` color. * Otherwise, it will be colored in `ui0` only if the `IconLink` has children. * If set to `false` and the `IconLink` has no children, the icon will be colored in `ui5`. */ isInteractiveIcon?: boolean; } export interface StyledAnchorProps { disabled?: boolean; display?: 'block' | 'inline-block'; } export interface StyledIconProps { disabled?: boolean; iconOnly?: boolean; } /** * The icon link component shows an icon with optional text. */ export declare const IconLink: React.SFC & { inner: { readonly StyledAnchor: any; readonly StyledIcon: any; readonly AnchorText: any; }; };