@trycourier/courier-ui-core
Version:
The core UI kit for Courier Web Components
30 lines (29 loc) • 770 B
TypeScript
import { CourierBaseElement } from './courier-base-element';
export declare const CourierIconSVGs: {
inbox: string;
archive: string;
check: string;
filter: string;
right: string;
remove: string;
overflow: string;
read: string;
archiveRead: string;
unread: string;
unarchive: string;
chevronDown: string;
};
export declare class CourierIcon extends CourierBaseElement {
static get id(): string;
private _color?;
private _svg?;
private _size?;
private _iconContainer;
private _style;
constructor(color?: string, svg?: string, size?: string);
private getStyles;
private refresh;
updateColor(color: string): void;
updateSVG(svg: string): void;
updateSize(size: string): void;
}