@nysds/nys-avatar
Version:
The Avatar component from the NYS Design System.
23 lines (22 loc) • 708 B
TypeScript
import { LitElement } from "lit";
export declare class NysAvatar extends LitElement {
static styles: import("lit").CSSResult;
/********************** Properties **********************/
id: string;
ariaLabel: string;
image: string;
initials: string;
icon: string;
color: string;
lazy: boolean;
private static readonly VALID_SHAPES;
private _shape;
get shape(): (typeof NysAvatar.VALID_SHAPES)[number];
set shape(value: string);
private _slotHasContent;
/******************** Functions ********************/
connectedCallback(): void;
firstUpdated(): void;
private _checkSlotContent;
render(): import("lit-html").TemplateResult<1>;
}