Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/ui / dist / components / features / ClickBoundary / ClickBoundary.d.ts
Size: Mime:
import React from 'react';
import { ClickBoundaryProps, ClickBoundaryRef } from './typings';
declare class ClickBoundary extends React.PureComponent<ClickBoundaryProps> {
    isListening: boolean;
    isActive: boolean;
    dom: ClickBoundaryRef;
    /**
     * only happens in browser, `willMount` in server
     */
    subscribeListener(): void;
    /**
     * only happens browser
     */
    unSubscribeListener(): void;
    /**
     * @todo update with forwardRef
     */
    setRef: (dom: any) => void;
    handleMouseEnter: (event: React.MouseEvent<any>) => void;
    handleMouseLeave: (event: React.MouseEvent<any>) => void;
    handleClick: (event: any) => void;
    renderChildren(children: any, attributes: any): React.ReactChild[];
    render(): JSX.Element | React.ReactChild[];
}
export default ClickBoundary;
export { ClickBoundary };