UNPKG

@trycourier/courier-ui-inbox

Version:

Inbox components for the Courier web UI

20 lines (19 loc) 695 B
import { CourierBaseElement } from '@trycourier/courier-ui-core'; import { CourierInboxIconTheme, CourierInboxTheme } from '../types/courier-inbox-theme'; export type CourierInboxListItemActionMenuOption = { id: string; icon: CourierInboxIconTheme; onClick: () => void; }; export declare class CourierInboxListItemMenu extends CourierBaseElement { static get id(): string; private _theme; private _options; constructor(theme: CourierInboxTheme); onComponentMounted(): void; static getStyles(theme: CourierInboxTheme): string; setOptions(options: CourierInboxListItemActionMenuOption[]): void; private renderMenu; show(): void; hide(): void; }