mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat(tabs): iconSource support for sys:// and font:// icons
closes https://github.com/NativeScript/NativeScript/issues/10729
This commit is contained in:
4
packages/core/image-source/index.d.ts
vendored
4
packages/core/image-source/index.d.ts
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user