Selkies
Developer ReferenceDashboard (Wish)ComponentsDashboard

components/dashboard/upload-notifications

Functions

UploadNotifications()

function UploadNotifications(): any;

Defined in: components/dashboard/upload-notifications.tsx:31

Renders nothing; it only listens.

Mounted next to the toaster rather than inside the panel that triggers the notices. A listener that lives in a menu is unmounted whenever that menu is closed, and these arrive while the user is somewhere else in the interface: an app install that failed has to settle its optimistic badge wherever the notice lands. A warning carries an optional translation code (clipboard*, commandFailed); the translator returns the key itself for an unknown code, since a future core may ship new ones, so the raw message is the fallback, as in the classic dashboard.

Returns

any

References

default

Renames and re-exports UploadNotifications

On this page

Edit on GitHub