@adaptabletools/adaptable
Version:
Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements
12 lines (11 loc) • 815 B
TypeScript
import { IconStyleBuiltInPreset, IconStyleMapping } from '../../../AdaptableState/StyledColumns/IconStyle';
/**
* Icon Column Style resolves one key → glyph per scalar cell value; AdapTable
* array column types are not supported (use Badge Style for per-element visuals).
*/
export declare function isUnsupportedColumnDataTypeForIconStyle(dataType?: string): boolean;
export declare const ICON_STYLE_PRESETS: Record<IconStyleBuiltInPreset, IconStyleMapping[]>;
/** Returns a fresh copy of the mappings for a given preset. */
export declare const getIconStylePresetMappings: (preset: IconStyleBuiltInPreset) => IconStyleMapping[];
export declare const ICON_STYLE_PRESET_LABELS: Record<IconStyleBuiltInPreset, string>;
export declare const ICON_STYLE_PRESET_DESCRIPTIONS: Record<IconStyleBuiltInPreset, string>;