new UIIconResource
Creates a new icon object.
constructor(content: string)
Parameters
- content — The icon content as SVG, HTML, or plain text; or a reference to a dynamic theme icon, defined in UITheme.icons.
Related
- class UIIconResourceAn object that represents an icon that can be used on labels or buttons.