Function: useNotifications()
useNotifications():
object
Defined in: packages/react-notifications/src/Provider.tsx:179
Returns
object
defaultViewType
defaultViewType:
ViewType
isLoading
isLoading:
boolean
notifications?
optional
notifications:Notification
[]
setLoading()
setLoading: (
arg
) =>void
Parameters
arg
boolean
Returns
void
addNotification()
Parameters
notification
Returns
void
clearNotifications()
Returns
void
removeNotification()
Parameters
id
string
| number
Returns
void