UNPKG

@starter-ui/core

Version:

This is a UI Components built with the utility classes from Tailwind CSS.

20 lines (19 loc) 766 B
import { PropsWithChildren, ReactNode } from 'react'; interface Props { id?: string; disabled?: boolean; open?: boolean; bordered?: boolean; showArrow?: boolean; placement?: string; trigger?: 'click' | 'hover'; renderButton?: ReactNode; className?: string; buttonClassName?: string; overlayClassName?: string; contentClassName?: string; onOpenChange?: (open: boolean) => void; onClickOutside?: () => void; } declare const Popover: ({ id, children, open, disabled, bordered, showArrow, placement, trigger, className, buttonClassName, overlayClassName, contentClassName, renderButton, onOpenChange, onClickOutside, }: PropsWithChildren<Props>) => import("react/jsx-runtime").JSX.Element; export default Popover;