angular-svg-icon
Version:
Angular 19 component and service for inlining SVGs allowing them to be easily styled with CSS.
14 lines (13 loc) • 507 B
TypeScript
import { Observable } from 'rxjs';
import { HttpClient } from '@angular/common/http';
import * as i0 from "@angular/core";
export declare abstract class SvgLoader {
abstract getSvg(url: string): Observable<string>;
}
export declare class SvgHttpLoader extends SvgLoader {
private http;
constructor(http: HttpClient);
getSvg(url: string): Observable<string>;
static ɵfac: i0.ɵɵFactoryDeclaration<SvgHttpLoader, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<SvgHttpLoader>;
}