UNPKG

ngx-avatar

Version:

A universal avatar component for Angular applications that fetches / generates avatar based on the information you have about the user.

15 lines (14 loc) 329 B
import { AvatarSource } from './sources/avatar-source.enum'; /** * Represents avatar configuration object. */ export interface AvatarConfig { /** * The avatars colors. */ colors?: string[]; /** * The order in which the avatar sources will be used. */ sourcePriorityOrder?: AvatarSource[]; }