UNPKG

@trycourier/courier-ui-inbox

Version:

Inbox components for the Courier web UI

25 lines (24 loc) 833 B
import { CourierBaseElement } from '@trycourier/courier-ui-core'; import { CourierInboxThemeManager } from '../types/courier-inbox-theme-manager'; import { CourierInboxMenuOption } from './courier-inbox-option-menu'; export declare class CourierInboxOptionMenuItem extends CourierBaseElement { static get id(): string; private _option; private _isSelectedable; private _isSelected?; private _theme; private _content?; private _itemIcon?; private _title?; private _selectionIcon?; constructor(props: { option: CourierInboxMenuOption; selectable: boolean; isSelected: boolean; themeManager: CourierInboxThemeManager; }); onComponentMounted(): void; refreshTheme(): void; setSelected(isSelected: boolean): void; private updateSelectionState; }