feat(tabs): iconSource support for sys:// and font:// icons

closes https://github.com/NativeScript/NativeScript/issues/10729
This commit is contained in:
Nathan Walker
2025-08-18 22:17:04 -07:00
parent dc1e2d761e
commit 226dc85efb
4 changed files with 34 additions and 15 deletions

View File

@@ -65,13 +65,13 @@ export class ImageSource {
* Loads this instance from the specified system image name.
* @param name the name of the system image
*/
static fromSystemImageSync(name: string, instance: ImageBase): ImageSource;
static fromSystemImageSync(name: string, instance?: ImageBase): ImageSource;
/**
* Loads this instance from the specified system image name asynchronously.
* @param name the name of the system image
*/
static fromSystemImage(name: string, instance: ImageBase): Promise<ImageSource>;
static fromSystemImage(name: string, instance?: ImageBase): Promise<ImageSource>;
/**
* Loads this instance from the specified file.