<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@datashaper/react](./react.md) &gt; [ModalState](./react.modalstate.md) &gt; [hide](./react.modalstate.hide.md)

## ModalState.hide() method

A callback to hide the modal

<b>Signature:</b>

```typescript
hide(): void;
```
<b>Returns:</b>

void

