UNPKG

750 BTypeScriptView Raw
1import { GridOptionsWrapper } from '../gridOptionsWrapper';
2import { Column } from '../entities/column';
3export declare const iconNameClassMap: {
4 [key: string]: string;
5};
6/**
7 * If icon provided, use this (either a string, or a function callback).
8 * if not, then use the default icon from the theme
9 * @param {string} iconName
10 * @param {GridOptionsWrapper} gridOptionsWrapper
11 * @param {Column | null} [column]
12 * @returns {HTMLElement}
13 */
14export declare function createIcon(iconName: string, gridOptionsWrapper: GridOptionsWrapper, column: Column | null): HTMLElement;
15export declare function createIconNoSpan(iconName: string, gridOptionsWrapper: GridOptionsWrapper, column?: Column | null, forceCreate?: boolean): HTMLElement | undefined;