welcome-ui
Version:
Customizable design system with react, typescript, tailwindcss and ariakit.
14 lines (13 loc) • 668 B
TypeScript
import * as Ariakit from '@ariakit/react';
export type UsePopover = Ariakit.PopoverStore & Pick<UsePopoverProps, 'withCloseButton'>;
export type UsePopoverHover = Ariakit.HovercardStore & Pick<UsePopoverHoverProps, 'withCloseButton'>;
export interface UsePopoverHoverProps extends Ariakit.HovercardStoreProps {
withCloseButton?: WithCloseButton;
}
export interface UsePopoverProps extends Ariakit.PopoverStoreProps {
withCloseButton?: WithCloseButton;
}
type WithCloseButton = boolean;
export declare const usePopover: (props?: UsePopoverProps) => UsePopover;
export declare const usePopoverHover: (props?: UsePopoverHoverProps) => UsePopoverHover;
export {};