UNPKG
@chatscope/use-chat
Version:
alpha (4.0.0-alpha.9)
latest (3.1.2)
4.0.0-alpha.9
4.0.0-alpha.8
4.0.0-alpha.7
4.0.0-alpha.6
4.0.0-alpha.5
4.0.0-alpha.4
4.0.0-alpha.3
4.0.0-alpha.2
4.0.0-alpha.1
3.1.2
3.1.1
3.1.0
3.0.0
2.0.3
2.0.2
2.0.1
2.0.0
1.5.0
1.4.1
1.4.0
1.3.1
1.3.0
1.2.2
1.2.1
1.2.0
1.1.1
1.1.0
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
React hook for state management in chat applications
chatscope.io
chatscope/use-chat
@chatscope/use-chat
/
dist
/
Presence.d.ts
11 lines
(10 loc)
•
284 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{
UserStatus
}
from
"./enums/UserStatus"
;
export
declare
type
PresenceParams
= {
status
?:
UserStatus
;
description
?:
string
; };
export
declare
class
Presence
{
status
:
UserStatus
;
description
:
string
;
constructor
(
{ status, description, }:
PresenceParams
); }