@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
10 lines (9 loc) • 420 B
TypeScript
export interface HoverCardContextValue {
openDropdown: () => void;
closeDropdown: () => 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;