API reference: @salmonui/overlays/popover
PopoverContentcomponent
import { PopoverContent } from '@salmonui/overlays/popover';function PopoverContent(props: PopoverContentProps): ReactNode;
The floating panel (role="dialog", no aria-modal): mounted only while
open, in the top layer, positioned next to the trigger (or anchor).
Labelled by Popover.Title and described by Popover.Description when
they are rendered and no aria-label / aria-labelledby is given.
Props: PopoverContentProps
| Name | Signature | Description |
|---|---|---|
childrenoptional | readonly children?: ReactNode; | |
refoptional | readonly ref?: Ref<HTMLDivElement> | undefined; | The content element ( |