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