import * as React from "react"; import { Direction } from "../../dropdownable/components/Dropdownable"; export interface PopoverProps extends React.HTMLProps { children: React.ReactNode; /** * Set a direction for the Popover to open out toward */ direction?: Direction; /** * Max-height of the Popover */ maxHeight?: React.CSSProperties["maxHeight"]; /** * Max-width of the Popover */ maxWidth?: React.CSSProperties["maxWidth"]; /** * Reference point for the dropdown menu */ menuRef?: React.RefObject; /** * If the caret icon should display next to the text */ showPointerCaret?: boolean; /** * Width of the Popover */ width?: React.CSSProperties["width"]; /** * Human-readable selector used for writing tests */ "data-cy"?: string; /** * Allows custom styling */ classname?: string; } declare const Popover: (props: PopoverProps) => React.JSX.Element; export default Popover;