IconStyleSpec
What the renderer draws for a single matched mapping.
- An β a system icon (
{ name: 'flag' }), a URL ({ src: '/img/us.svg' }) or an HTML element / fragment. - A plainstringβ rendered verbatim, intended for emoji glyphs (e.g.'πΊπΈ','$','β¬'). Strings are not HTML-parsed so they are safe to author from data sources.
TypeScript
export type IconStyleSpec = AdaptableIcon | string;