UNPKG

@octopusdeploy/design-system-components

Version:
29 lines (28 loc) 1 kB
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; } /** * @deprecated * Deprecated: 28/05/2026 * Replacement: Popover * Reason: This component is deprecated and will be removed in a future release. */ export declare function LegacyPopover(props: LegacyPopoverProps): import("react/jsx-runtime").JSX.Element;