UNPKG

@octopusdeploy/design-system-components

Version:
23 lines (22 loc) 849 B
import type { TransitionProps } from "@mui/material/transitions"; import type * as React from "react"; export type Horizontal = "left" | "center" | "right"; export type Vertical = "top" | "center" | "bottom"; export interface LegacyPopoverOrigin { horizontal: Horizontal; vertical: Vertical; } export interface LegacyPopoverProps { anchorEl: Element | null; anchorOrigin?: LegacyPopoverOrigin; className?: string; onClose?: () => void; open: boolean; transformOrigin?: LegacyPopoverOrigin; disableAutoFocus?: boolean; disableEnforceFocus?: boolean; getUpdatePosition?: (callback: () => void) => void; TransitionComponent?: React.ComponentType<TransitionProps>; children: React.ReactNode; } export declare function LegacyPopover(props: LegacyPopoverProps): import("react/jsx-runtime").JSX.Element;