UNPKG
@vchatcloud/react-ui-kit
Version:
latest (1.0.9)
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
VChatCloud UI Kit for react integration
www.vchatcloud.com
@vchatcloud/react-ui-kit
/
dist
/
hooks
/
usePopup.d.ts
9 lines
(8 loc)
•
220 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
declare
const
usePopup
:
(
callback
: () =>
void
) =>
{
popup
:
boolean
;
show
:
() =>
void
;
hide
:
() =>
void
;
toggle
:
() =>
void
;
ref
:
import
(
'react'
).
RefObject
<
HTMLDivElement
>; };
export
default
usePopup;