@praetorian-chariot/ui
Version:
The UI component library for Chariot, built with Tailwind CSS and React.
21 lines • 670 B
TypeScript
import React, { PropsWithChildren, ReactNode } from "react";
export type PopoverPosition = "top" | "bottom" | "left" | "right";
export interface PopoverProps extends PropsWithChildren {
trigger: ReactNode;
children: ReactNode;
position?: PopoverPosition;
showArrow?: boolean;
open?: boolean;
onOpen?: () => void;
onClose?: () => void;
closeOnOutsideClick?: boolean;
closeOnEscape?: boolean;
className?: string;
contentClassName?: string;
arrowClassName?: string;
offset?: number;
disabled?: boolean;
zIndex?: number;
}
export declare const Popover: React.FC<PopoverProps>;
//# sourceMappingURL=Popover.d.ts.map