angular-svg-icon
Version:
Angular 8 component for inlining SVGs allowing them to be easily styled with CSS.
11 lines (10 loc) • 339 B
TypeScript
import { Observable } from 'rxjs';
import { HttpClient } from '@angular/common/http';
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>;
}