Popover

View source code
  • children
    (closeDropdown: () => void) => ReactNode

    The contents of the Popover

  • renderTrigger
    (triggerProps: TriggerProps, isOpen: boolean) => ReactNode

    Function to render the button trigger

  • className
    string

    className for the element

  • placement
    "bottom-end" | "bottom-start" | "end-bottom" | "end-top" | "top-end" | "top-start"

    Whether the Popover should be align at the start or end of the trigger

    Default: bottom-start