@trycourier/courier-ui-inbox
Version:
Inbox components for the Courier web UI
18 lines (17 loc) • 529 B
TypeScript
import { CourierInboxIcon, CourierInboxTheme } from '../types/courier-inbox-theme';
export type CourierListItemActionMenuOption = {
id: string;
icon: CourierInboxIcon;
onClick: () => void;
};
export declare class CourierListItemActionMenu extends HTMLElement {
private _theme;
private _options;
private _style;
constructor(theme: CourierInboxTheme);
private getStyles;
setOptions(options: CourierListItemActionMenuOption[]): void;
private renderMenu;
show(): void;
hide(): void;
}