# DialogClose (@salmonui/overlays/dialog)

> The DialogClose function of @salmonui/overlays/dialog: Closes the dialog (reason: 'close'); render swaps the element.

Canonical: https://salmonui.dev/docs/reference/overlays/dialog/DialogClose

```ts
import { DialogClose } from '@salmonui/overlays/dialog';
```

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

## Reference

Kind: function

```ts
function DialogClose(props: DialogTriggerProps): ReactElement;
```

Closes the dialog (`reason: 'close'`); `render` swaps the element.
