UNPKG
@open-chat/chat-bubble
Version:
latest (0.4.2)
0.4.2
0.4.1
0.4.0
0.3.0
0.2.1
0.2.0
0.1.0
0.0.7
0.0.4
0.0.3
0.0.2
0.0.1
Chat bubble component.
openchat.so
@open-chat/chat-bubble
/
dist
/
types
/
hooks
/
useScroll.d.ts
8 lines
(7 loc)
•
200 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
RefObject
}
from
'react'
;
interface
ScrollPosition
{
x
:
number
;
y
:
number
; }
declare
const
useScroll
:
(
targetRef
:
RefObject
<
HTMLElement
>
) =>
ScrollPosition
;
export
default
useScroll;