Hiyve Components - v1.0.0
Preparing search index...
@hiyve/react
UseNotificationsResult
Interface UseNotificationsResult
interface
UseNotificationsResult
{
error
:
Error
|
null
;
isLoading
:
boolean
;
markAllRead
:
()
=>
Promise
<
void
>
;
markRead
:
(
id
:
string
)
=>
Promise
<
void
>
;
notifications
:
CloudNotification
[]
;
refresh
:
()
=>
Promise
<
void
>
;
unreadCount
:
number
;
}
Index
Properties
error
is
Loading
mark
All
Read
mark
Read
notifications
refresh
unread
Count
Properties
error
error
:
Error
|
null
is
Loading
isLoading
:
boolean
mark
All
Read
markAllRead
:
()
=>
Promise
<
void
>
mark
Read
markRead
:
(
id
:
string
)
=>
Promise
<
void
>
notifications
notifications
:
CloudNotification
[]
refresh
refresh
:
()
=>
Promise
<
void
>
unread
Count
unreadCount
:
number
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
error
is
Loading
mark
All
Read
mark
Read
notifications
refresh
unread
Count
Hiyve Components - v1.0.0
Loading...