UNPKG

@grafana/ui

Version:

Grafana Components Library

18 lines (17 loc) 437 B
import { PureComponent } from 'react'; export interface Props { onClick: () => void; } interface State { hasEventListener: boolean; } export declare class ClickOutsideWrapper extends PureComponent<Props, State> { state: { hasEventListener: boolean; }; componentDidMount(): void; componentWillUnmount(): void; onOutsideClick: (event: any) => void; render(): import("react").ReactNode; } export {};