/** * A custom component that gets triggered if you click outside of it */ export default class BrOutsideAlerter extends React.Component { static propTypes: { callbackFunc: PropTypes.Validator<(...args: any[]) => any>; children: PropTypes.Validator; className: PropTypes.Requireable; }; constructor(props: any); componentDidMount(): void; componentWillUnmount(): void; setWrapperRef: (node: any) => void; wrapperRef: any; handleClickOutside: (event: any) => void; render(): JSX.Element; } import React from 'react'; import PropTypes from 'prop-types';