import type { Values } from '@sfx-ui/utils/types'; import type { PopupContentProps } from '../popup-content'; import { Vertical, Horizontal } from './types'; export type PopupAnchorOriginVerticalType = Values; export type PopupAnchorOriginHorizontalType = Values; export interface PopupAnchorOriginProps { vertical?: PopupAnchorOriginVerticalType; horizontal?: PopupAnchorOriginHorizontalType; } export interface PopupProps extends PopupContentProps { open?: boolean; anchorOrigin?: PopupAnchorOriginProps; autoHideDuration?: number; onClose?: () => void; }