welcome-ui
Version:
Customizable design system with react, typescript, tailwindcss and ariakit.
13 lines (12 loc) • 817 B
TypeScript
import { UsePopoverHover } from './usePopover';
import * as Ariakit from '@ariakit/react';
export interface PopoverHoverOptions extends Ariakit.HovercardProps {
/** call a function when popover closed */
onClose?: () => void;
store: UsePopoverHover;
}
export declare const PopoverHover: import('../../utils').FunctionComponentWithAs<"div", PopoverHoverOptions> & {
Content: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLProps<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
Title: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLProps<HTMLHeadingElement>, "ref"> & import('react').RefAttributes<HTMLHeadingElement>>;
Trigger: import('../../utils').FunctionComponentWithAs<"a", import('./Trigger').PopoverHoverTriggerProps>;
};