UNPKG
@figliolia/react-hooks
Version:
latest (1.7.3)
1.7.3
1.7.2
1.7.1
1.7.0
1.5.0
1.4.0
1.3.0
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.3
A small collection of simple React Hooks you're probably rewriting on a regular basis
@figliolia/react-hooks
/
dist
/
types
/
Generics
/
AnimationFrame.d.ts
8 lines
(7 loc)
•
230 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
type
{
Callback
}
from
"../Types"
;
export
declare
class
AnimationFrame
{
private
IDs
;
execute
(
callback
:
Callback
):
() =>
void
;
abortAll
():
void
;
cancel
(
ID
:
ReturnType
<
typeof
requestAnimationFrame>):
void
; }