Home > @uniformdev/design-system > usePopoverComponentContext

usePopoverComponentContext() function

Hook to get the current popover context This hook is used to get the current popover context useful for closing the popover with a nested button or interative element

Signature:

Returns:

PopoverStore | undefined

Example

const currentPopoverContext = usePopoverComponentContext();