IconSpec Type Alias
Deprecated in 4.16.0. Use React.ReactNode instead.
IconSpec = string | ConditionalStringValue | React.ReactNode | ConditionalIconItem
Prototype for an IconSpec which can be a string, ReactNode or ConditionalStringValue. Strings are expected to be one of the following:
- Created by
IconSpecUtilities.createWebComponentIconSpecin appui-abstract (deprecated). - A URL to a SVG file (must end with ".svg").
- A dataURI with MimeTypes
image/svg+xml(ensure valid dataURI encoding) orimage/svg+xml;base64; - Anything else will be treated as a class name and be directly added to the
classattribute.
Defined in
Last Updated: 13 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.