import { COLOR, ICON_FONT } from '../../common/interfaces/ui'; export declare type GritIconMode = 'default' | 'border'; export declare class GritIcon { /** * Sets the color the Icon will have, * and if it's bordered, the color of the border. */ color: COLOR; /** * If 'border', adds the corresponding border styling. * Otherwise, it only shows the icon. */ mode: GritIconMode; /** Sets the type of font the icon has */ font: ICON_FONT; /** * Height & Width of the icon in pixels. * If the icon is bordered, the minimum size allowed * for the icon is 24px so that the icon is rendered * correctly. */ size: number; /** * Hides the icon leaving the empty space as is, * setting it's css visibility to false. */ hidden: boolean; /** * Adds an `aria-label` with the value * passed. If no value is passed * then an `aria-hidden` will be true */ label: string; componentWillLoad(): void; private genSizeStyle; render(): any; }