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