@manta-eu/react/popover
Reference for @manta-eu/react/popover as it is on main.
Type Aliases
PopoverItemProps
PopoverItemProps =
object
Properties
className?
optionalclassName?:string
description?
optionaldescription?:string
icon?
optionalicon?:React.ComponentType<{className?:string; }>
label
label:
string
onClick?
optionalonClick?: () =>void
Returns
void
Variables
Popover
constPopover:FC<PopoverProps> =PopoverPrimitive.Root
PopoverAnchor
constPopoverAnchor:ForwardRefExoticComponent<PopoverAnchorProps&RefAttributes<HTMLDivElement>> =PopoverPrimitive.Anchor
PopoverArrow
constPopoverArrow:ForwardRefExoticComponent<PopoverArrowProps&RefAttributes<SVGSVGElement>> =PopoverPrimitive.Arrow
PopoverClose
constPopoverClose:ForwardRefExoticComponent<PopoverCloseProps&RefAttributes<HTMLButtonElement>> =PopoverPrimitive.Close
PopoverContent
constPopoverContent:ForwardRefExoticComponent<Omit<PopoverContentProps&RefAttributes<HTMLDivElement>,"ref"> &RefAttributes<HTMLDivElement>>
PopoverItem
constPopoverItem:ForwardRefExoticComponent<PopoverItemProps&RefAttributes<HTMLButtonElement>>
PopoverTrigger
constPopoverTrigger:ForwardRefExoticComponent<PopoverTriggerProps&RefAttributes<HTMLButtonElement>> =PopoverPrimitive.Trigger