API Reference > ui-core > Utilities > IconHelper IconHelper Class 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: ReactNode | ConditionalStringValue, internalData?: Map<string, any>): string | ConditionalStringValue Static Returns an icon definition that can be stored in an abstract item definition. getIconReactNode(icon: ReactNode | ConditionalStringValue, internalData?: Map<string, any>): ReactNode Static Returns an ReactNode from the many ways an icon can be specified. Properties Name Type Description reactIconKey Accessor StaticReadOnly string Defined in ui/core/src/ui-core/utils/IconHelper.tsx Line 16 Last Updated: 12 June, 2024