import { ReactElement, ReactNode } from 'react'; import { PopperProps } from '@material-ui/core'; type HintProps = { open: boolean; /** * ⚠️ Has to be a single reffable child (use `forwardRef` for custom components) */ children?: ReactElement; title?: ReactNode; content?: ReactNode; /** * @default Got It */ confirmText?: ReactNode; /** * Action button is shown only if this prop is present */ onConfirm?: () => void; /** * Check [Positioned Popper](https://v4.mui.com/components/popper/#positioned-popper) example for more info * @default bottom */ placement?: PopperProps['placement']; /** * Allows anchoring to arbitrary element */ anchorEl?: HTMLElement | null; className?: string; /** * Close button is shown only when this prop is present */ onClose?: () => void; }; export declare const Hint: (props: HintProps) => JSX.Element; export {}; //# sourceMappingURL=Hint.d.ts.map