View as Markdown

API reference: @salmonui/overlays/popover

PopoverClosefunction

import { PopoverClose } from '@salmonui/overlays/popover';
function PopoverClose(props: PopoverCloseProps): ReactElement;

A button that closes the popover (reason: 'close'); render swaps the element.