Repository URL to install this package:
|
Version:
1.3.2 ▾
|
import React from 'react';
import { isClickInsideElement } from './deps';
declare class ClickBoundary extends React.PureComponent {
dom: HTMLElement;
static propTypes: {
onClickOutside: any;
className: any;
children: any;
/**
* @todo @name @example
* maybe aria has a standard one too
* [provide] | [consume]
*
* parentRef | childrenRef
* | childRef
* | innerRef
*
* wrapRef | boxWrap
* giveRef | getRef
* provideRef |
*/
parentRef: any;
};
componentDidMount(): void;
componentWillUnmount(): void;
setRef: (dom: any) => void;
handleClick: (event: any) => void;
readonly className: string;
render(): any;
}
export default ClickBoundary;
export { ClickBoundary };
export { isClickInsideElement };