import * as React from 'react'; import HIDComponentProps from '../ComponentModel/HIDComponentModel'; import '../../../index.scss'; export interface HIDPopoverProps extends HIDComponentProps { /** true or false.Can be performed by a function as well*/ open: boolean; /** Callback function after closing the Popover*/ callback?: () => void; /**To anchor the Popover with the element */ anchor: HTMLElement; /**Content to be displayed in Popover */ content: string; /**Horizontal positioning of the Popover ,Default:'center'*/ horizontalPosition?: 'left' | 'right' | 'center'; /**Vertical positioning of the Popover,Default:'bottom' */ verticalPosition?: 'top' | 'bottom'; } export interface HIDPopoverState { open: boolean; transformOrigin: any; horizontalPosition: 'left' | 'right' | 'center'; verticalPosition: 'top' | 'bottom'; } /** * ### The API documentation of the HID Popover React component. Learn more about the properties and the API Methods. * */ export default class HIDNotification extends React.Component { state: HIDPopoverState; componentDidUpdate(prevProps: any): void; private handleClose; render(): JSX.Element; }