UNPKG

@trycourier/courier-ui-inbox

Version:

Inbox components for the Courier web UI

24 lines (23 loc) 1.03 kB
import { CourierBaseElement } from '@trycourier/courier-ui-core'; import { CourierInboxMenuOption } from './courier-inbox-option-menu'; import { CourierInboxFeedType } from '../types/feed-type'; import { CourierInboxThemeManager } from '../types/courier-inbox-theme-manager'; import { CourierInboxTheme } from '../types/courier-inbox-theme'; export declare class CourierInboxHeaderTitle extends CourierBaseElement { static get id(): string; private _themeSubscription; private _option; private _feedType?; private _style?; private _titleElement?; private _iconElement?; private _unreadBadge?; private get theme(); constructor(themeManager: CourierInboxThemeManager, option: CourierInboxMenuOption); static getStyles(theme: CourierInboxTheme): string; onComponentMounted(): void; onComponentUnmounted(): void; private refreshTheme; updateSelectedOption(option: CourierInboxMenuOption, feedType: CourierInboxFeedType, unreadCount: number): void; private updateFilter; }