# PopoverClose (@salmonui/overlays/popover)

> The PopoverClose function of @salmonui/overlays/popover: A button that closes the popover (reason: 'close'); render swaps the element.

Canonical: https://salmonui.dev/docs/reference/overlays/popover/PopoverClose

```ts
import { PopoverClose } from '@salmonui/overlays/popover';
```

Entry index: https://salmonui.dev/docs/reference/overlays/popover (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/overlays/popover.md).

## Reference

Kind: function

```ts
function PopoverClose(props: PopoverCloseProps): ReactElement;
```

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