| Prop | Type | Default | Attributes |
|---|---|---|---|
active | boolean | No default value— | |
modal | boolean | true |
Return value
| Prop | Type | Default | Attributes |
|---|---|---|---|
canDismiss | callback | No default value— |
useCanDismiss is a hook that checks whether an overlay can close, such as a custom panel beneath a second dialog.
Import
import { useCanDismiss } from '@vortexlabs/vortex-native';