UNPKG

@trycourier/courier-ui-inbox

Version:

Inbox components for the Courier web UI

20 lines (19 loc) 781 B
import { CourierFactoryElement } from '@trycourier/courier-ui-core'; import { CourierInboxTheme } from '../types/courier-inbox-theme'; import { CourierInboxThemeManager } from '../types/courier-inbox-theme-manager'; export declare class CourierInboxMenuButton extends CourierFactoryElement { static get id(): string; private _themeSubscription; private _style?; private _container?; private _triggerButton?; private _unreadBadge?; get theme(): CourierInboxTheme; constructor(themeBus: CourierInboxThemeManager); onComponentMounted(): void; onComponentUnmounted(): void; defaultElement(): HTMLElement; static getStyles(theme: CourierInboxTheme): string; onUnreadCountChange(unreadCount: number): void; private refreshTheme; }