UNPKG

488 BTypeScriptView Raw
1export declare function notify<T extends (...args: any) => any>(handler: T | undefined, args: Parameters<T>): void;
2export declare const useInstanceId: (otherId?: string | undefined, suffix?: string) => string;
3/**
4 * Allows for defering popup rendering untill the widget is focused,
5 * or has been opened (in order to not remove it suddenly on close)
6 */
7export declare function useFirstFocusedRender(focused: boolean, open: boolean): boolean;
8//# sourceMappingURL=WidgetHelpers.d.ts.map
\No newline at end of file