@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
17 lines (16 loc) • 649 B
TypeScript
import type { JSX } from '../../stencil-public-runtime';
import type { AvatarAPI, AvatarStates, ImageSourcePropType, LabelPropType, PropColor, Stringified } from '../../schema';
export declare class KolAvatarWc implements AvatarAPI {
private bgColorStr;
private colorStr;
render(): JSX.Element;
private handleColorChange;
_color?: Stringified<PropColor>;
_src?: ImageSourcePropType;
_label: LabelPropType;
state: AvatarStates;
validateColor(value?: Stringified<PropColor>): void;
validateSrc(value?: ImageSourcePropType): void;
validateLabel(value?: LabelPropType): void;
componentWillLoad(): void;
}