@trimble-oss/moduswebcomponents
Version:
Modus Web Components is a modern, accessible UI library built with Stencil JS that provides reusable web components following Trimble's Modus design system. This updated version focuses on improved flexibility, enhanced theming options, comprehensive cust
23 lines (22 loc) • 671 B
TypeScript
import { DaisySize } from '../types';
/**
* A customizable avatar component used to create avatars with different images.
*/
export declare class ModusWcAvatar {
private inheritedAttributes;
/** Reference to the host element */
el: HTMLElement;
/** The image alt attribute for accessibility. */
alt: string;
/** Custom CSS class to apply to the inner div. */
customClass?: string;
/** The location of the image. */
imgSrc: string;
/** The shape of the avatar. */
shape?: 'circle' | 'square';
/** The size of the avatar. */
size?: DaisySize;
componentWillLoad(): void;
private getClasses;
render(): any;
}