import * as React from "react"; import { FCReturn, ForwardRefProps, JSXIntrinsicElementProps, ReactAttr, ReactComponentConstructor, } from "../../../typings/shared"; /* * Popover */ interface PopoverBaseIsolatedProps { // props not given to the component specified by "as" caret?: boolean | undefined; align?: | "top" | "top-left" | "top-right" | "bottom" | "bottom-left" | "bottom-right" | "left" | "left-bottom" | "left-top" | "right" | "right-bottom" | "right-top" | undefined; dropShadow?: boolean | undefined; highContrast?: boolean | undefined; light?: boolean | undefined; open: boolean; } type SafePopoverProps
= Omit
;
interface PopoverBaseProps extends PopoverBaseIsolatedProps {
children?: React.ReactNode | undefined;
className?: string | undefined;
}
export type PopoverDefaultProps =
& PopoverBaseProps
& ReactAttr
& {
as: C;
}
: never;
declare function Popover(props: ForwardRefProps