UNPKG

@wix/design-system

Version:

@wix/design-system

11 lines 692 B
import type { UseFloatingReturn, UseInteractionsReturn } from '@floating-ui/react'; import type { PopoverNextProps } from '../PopoverNext.types'; export type PopoverNextContextValue = { portalRoot?: HTMLElement | null; interactions: UseInteractionsReturn; popoverStyles: React.CSSProperties; transitionStyles?: React.CSSProperties; context: UseFloatingReturn['context']; } & Pick<PopoverNextProps, 'dataHook' | 'flip' | 'placement' | 'open' | 'skin' | 'overlay'> & Required<Pick<PopoverNextProps, 'focusManagerEnabled' | 'appendTo' | 'zIndex'>>; export declare const usePopoverNextContext: () => PopoverNextContextValue; //# sourceMappingURL=usePopoverNextContext.d.ts.map