payzli-ui-aryan
Version:
A custom react components library
26 lines (25 loc) • 717 B
TypeScript
export interface IAvatar {
size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "custom";
statusIcon?: "online" | "offline" | "verified" | "company" | "merchant" | "user" | "admin" | "partner" | JSX.Element;
src?: string;
src_text: string;
placeholderIcon?: boolean;
onClick?: (event: any) => void;
id: string;
image_hash: string;
mime_type: string;
height?: string;
width?: string;
loading?: "lazy" | "eager";
alt?: string;
className?: string;
style?: object;
tooltip?: string;
user_type?: string;
parentClass?: string;
apiRoutePrefix?: string;
iconSize?: string;
statusIconSize?: string;
statusIconColor?: string;
ref?: any;
}