@inventage-web-components/avatar-image
Version:
An avatar image based on user initials.
21 lines • 799 B
TypeScript
import { CSSResultArray, LitElement, nothing, PropertyValues } from '@inventage-web-components/common';
/**
* An avatar image based on user initials.
*
* @csspart avatar - The wrapper element around the avatar image
* @csspart avatar-image - The avatar image as SVG
*
* @cssprop {length} [--avatar-image-avatar-max-width=100%] Primary color used for text elements
*/
export declare class AvatarImage extends LitElement {
static get styles(): CSSResultArray;
/**
* The string input to use for generating the avatar image
*/
input?: string;
private initials?;
private backgroundColor;
protected willUpdate(changedProperties: PropertyValues): void;
render(): typeof nothing | import("lit-html").TemplateResult<1>;
}
//# sourceMappingURL=AvatarImage.d.ts.map