@esri/calcite-components
Version:
Web Components for Esri's Calcite Design System.
23 lines (21 loc) • 873 B
TypeScript
/// <reference types="../../index.d.ts" />
import { PublicLitElement as LitElement, JsxNode, TargetedEvent } from '@arcgis/lumina';
import { Scale } from '../interfaces';
export declare class Avatar extends LitElement {
/** Specifies the full name of the user. When `label` and `thumbnail` are not defined, specifies the accessible name for the component. */
fullName: string;
/** Specifies alternative text when `thumbnail` is defined, otherwise specifies an accessible label. */
label: string;
/**
* Specifies the size of the component.
*
* @default "m"
*/
scale: Scale;
/** Specifies the `src` to an image (remember to add a token if the user is private). */
thumbnail: string;
/** Specifies the unique id of the user. */
userId: string;
/** Specifies the username of the user. */
username: string;
}