@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
11 lines (10 loc) • 474 B
TypeScript
export interface HoverCardContextValue {
openDropdown: () => void;
closeDropdown: () => void;
assignTarget: (node: HTMLElement | null) => void;
getReferenceProps?: () => any;
getFloatingProps?: () => any;
reference?: (node: HTMLElement | null) => void;
floating?: (node: HTMLElement | null) => void;
}
export declare const HoverCardContext: import("react").Context<HoverCardContextValue | null>, useHoverCardContext: () => HoverCardContextValue;