ngx-avatars
Version:
A universal avatar component for Angular applications that fetches / generates avatar based on the information you have about the user.
14 lines (13 loc) • 341 B
TypeScript
import { Source } from './source';
import { AvatarSource } from './avatar-source.enum';
/**
* Custom source implementation.
* return custom image as an avatar
*
*/
export declare class Custom implements Source {
sourceId: string;
readonly sourceType: AvatarSource;
constructor(sourceId: string);
getAvatar(): string;
}