ImageSourceType Type
ImageSourceType = "svg" | "url" | "binary" | "core-icon" | "webfont-icon"
Type of loaded image source:
- "svg" will render svg strings inline with the rest of the DOM
- "url" will render a simple img tag with url as it's source
- "binary" expects a HEX string for the value and will render raw image
- "core-icon" will render an icon bundled with @itwin/core-react
- "webfont-icon" will render web font icon from provided font-family. When no font-family given, defaults to "bentley-icons-generic-webfont".
Defined in
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.