IconHelper Class

Deprecated  in 4.15.0. Used internally.

Icon Helper Class used to store the data needed to generate an for use in any control that shows an icon.

Methods

Name Description
constructor(): IconHelper    
getIconData(iconSpec: IconSpec, internalData?: Map<string, any>): string | ConditionalStringValue Static Returns an icon definition that can be stored in an abstract item definition.  
getIconReactNode(icon: React.ReactNode | ConditionalIconItem | ConditionalStringValue, internalData?: Map<string, any>): React.ReactNode Static Returns an ReactNode from the many ways an icon can be specified.  

Properties

Name Type Description
conditionalIconItemKey Accessor Static ReadOnly string    
reactIconKey Accessor Static ReadOnly string    

Defined in

Last Updated: 17 December, 2024