goobs-frontend
Version:
A comprehensive React-based libary for building modern web applications
17 lines • 656 B
TypeScript
import { default as React } from 'react';
import { PopoverStyles } from '../../theme/popover';
export interface PopoverProps {
/** Whether the popover is open */
open: boolean;
/** Function to call when the popover should close */
onClose: () => void;
/** The anchor element to position the popover relative to */
anchorEl: HTMLElement | null;
/** The content to display in the popover */
children: React.ReactNode;
/** Custom styles to apply to the popover using the theme system */
styles?: PopoverStyles;
}
declare const Popover: React.FC<PopoverProps>;
export default Popover;
//# sourceMappingURL=index.d.ts.map