UNPKG

primereact

Version:

PrimeReact is an open source UI library for React featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with Prime

17 lines (12 loc) 480 B
import React from 'react'; type OverlayServiceActionType = 'overlay-click'; interface OverlayServiceParams { originalEvent: React.SyntheticEvent; target: HTMLElement; } export interface OverlayServiceOptions { on(action: OverlayServiceActionType, fn: any): void; emit(action: OverlayServiceActionType, params?: OverlayServiceParams): void; off(action: OverlayServiceActionType, fn: any): void; } export declare const OverlayService: OverlayServiceOptions;