@kushki/ng-suka
Version:
<p align="center"> <h1 align="center">Suka Components Angular</h1> <p align="center"> An Angular implementation of the Suka Design System </p> </p>
28 lines (27 loc) • 743 B
TypeScript
export declare class Avatar {
/**
* Sets an image url for the avatar. If it is set, it displays instead of the name initials.
*/
imgSrc: string;
/**
* Avatar name. Used to display its initials (Max 2).
*/
name: string;
/**
* Sets the avatar color.
*/
color: 'blue' | 'azure' | 'indigo' | 'purple' | 'pink' | 'red' | 'orange' | 'yellow' | 'lime' | 'green' | 'teal' | 'cyan' | 'gray' | 'gray-dark';
/**
* Sets the avatar class
*/
class: string;
/**
* Sets the avatar size.
*/
size: 'sm' | 'md' | 'lg' | 'xl' | '2xl';
readonly attrClass: string;
/**
* Sets the avatar initials according to the name input.
*/
getInitials(): string;
}