Popover
The Popover displays content in a floating element, triggered by a button.
Import
Importimport { Popover } from '@backyard-ui/core';Usage
UsageWithTitle
WithTitleTo render a Title, add PopoverHeader
WithFooter
WithFooterTo render a Footer, add PopoverFooter
CloseButton
CloseButtonTo render a CloseButton, add PopoverCloseButton
Close
CloseYou can use any other element as a close button with PopoverClose
Anchor
AnchorYou can anchor the content to another element if you do not want to use the trigger as the anchor.
Controlled
ControlledThe Popover can have a controlled state, using isOpen and onOpenChange props
API Reference
API ReferenceRoot
Root- isOpenDescription If `true` the Dialog will be initially openedType
booleanDefaultfalse 
Trigger
TriggerAnchor
Anchor- asChildDescriptionType
boolean 
Content
Content- asChildDescriptionType
boolean 
Title
TitleClose
Close- asChildDescriptionType
boolean