import React from 'react'; import { Props } from '../../../common'; interface IIconProps { /** FontAwesome or alternate name of the icon to display */ icon: string; /** Multiplies icon size by this amount */ size?: 'xxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge'; /** Custom sizes for icons */ customSize?: number; /** Colour of the icon */ color?: string; /** Additional class name to pass to the icon */ className?: string; /** Adds FontAwesome `fa-spin` class to icon */ isSpinning?: boolean; /** Optional aria-label for accessibility */ label?: string; /** Margins around the component */ margins?: Props.IMargins; /** Width of the icon */ width?: number; /** Colors for FontAwesome duotone icons */ duotoneColors?: { primaryColor?: string; secondaryColor?: string; }; /** Opacity for FontAwesome duotone icons */ duotoneOpacity?: { primaryOpacity?: number; secondaryOpacity?: number; }; /** The data-cy */ componentContext?: string; } declare const Icon: React.FC>; export { IIconProps, Icon };