getPublisherThemeImageReferenceV2()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
The theme image an image source references, such as {theme.assets.logos.main}; undefined when the source is not a theme image reference.
export declare function getPublisherThemeImageReferenceV2(source: unknown): PublisherThemeImageReferenceV2 | undefined;
Parameters
Parameter | Type | Description |
|---|---|---|
source | unknown |
Returns
PublisherThemeImageReferenceV2 | undefined
Remarks
Image references resolve only as an image source or a background image, never in text.