# DrawerClose (@salmonui/overlays/drawer)

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

Canonical: https://salmonui.dev/docs/reference/overlays/drawer/DrawerClose

```ts
import { DrawerClose } from '@salmonui/overlays/drawer';
```

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

## Reference

Kind: function

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

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