UNPKG

@scania/tegel

Version:
23 lines (22 loc) 851 B
import { IconNames } from '../../types/Icons'; export declare class Icon { host: HTMLTdsIconElement; /** Pass the name of the icon. * For icon names, refer to Storybook Icon controls dropdown or https://tegel.scania.com/foundations/icons/icon-library */ name: IconNames; /** Pass a size of icon as a string, for example, 32px, 1rem, 4em... */ size: string; /** Override the default title for the svg. Also used by aria-labelledby. */ svgTitle?: string; /** Set aria-hidden attribute on svg */ tdsAriaHidden: boolean; /** Set description for the svg. Also used by aria-describedby. */ svgDescription?: string; icons_object: string; arrayOfIcons: never[]; componentWillLoad(): void; private detectAndSetBrand; private arrayDataWatcher; setIcons: () => any[]; render(): any; }