UNPKG

@freshworks/crayons

Version:
13 lines (12 loc) 591 B
export declare const attachProps: (node: HTMLElement, newProps: any, oldProps?: any) => void; export declare const getClassName: (classList: DOMTokenList, newProps: any, oldProps: any) => string; /** * Checks if an event is supported in the current execution environment. * @license Modernizr 3.0.0pre (Custom Build) | MIT */ export declare const isCoveredByReact: (eventNameSuffix: string) => boolean; export declare const syncEvent: (node: Element & { __events?: { [key: string]: (e: Event) => any; }; }, eventName: string, newEventHandler?: (e: Event) => any) => void;