getIconReactNode MethodStatic

Returns an ReactNode from the many ways an icon can be specified.

getIconReactNode(icon: React.ReactNode | ConditionalIconItem | ConditionalStringValue, internalData?: Map<string, any>): React.ReactNode

Parameter Type Description
icon React.ReactNode | ConditionalIconItem | ConditionalStringValue abstract icon specification.
internalData Map<string, any> a map that may hold a React.ReactNode stored in an abstract item definition.

Returns - React.ReactNode

Defined in

Last Updated: 17 December, 2024