- Android
- iOS
- Web
Toast Host
Mount the host that displays queued notifications.
Engine API NToastHostnayan-ui/components
Mount a host once near the root of the app, then enqueue toasts from user actions.
Example.tsx
| Name | Type | Default | Details |
|---|---|---|---|
| maxWidth | number | Optional | Width limit on larger screens; defaults to 480 points. |
| top | number | Optional | Absolute top offset. Defaults to the top safe area plus 12 points. |