UNPKG
@slashid/react-primitives
Version:
beta (0.5.5-onboarding-beta.0)
latest (0.6.2)
0.6.2
0.6.1
0.6.0
0.5.5-onboarding-beta.0
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.0
0.3.0
0.3.0-customization.1
0.3.0-customization.0
0.2.0
0.1.4-beta.5
0.1.4-beta.4
0.1.4-beta.3
0.1.4-beta.2
0.1.4-beta.1
0.1.4-beta.0
0.1.3
0.1.2
0.1.1
Primitive components for the /id React SDK
slashid.dev
slashid/javascript
@slashid/react-primitives
/
dist
/
hooks
/
use-counter.hook.d.ts
11 lines
•
281 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
export
declare
const
TIME_MS
: {
second
:
number
;
minute
:
number
;
hour
:
number
; };
export
type
Props
= {
timeoutMs
:
number
;
tickMs
:
number
; };
export
declare
function
useCounter
(
{ timeoutMs, tickMs }:
Props
):
number
;
//# sourceMappingURL=use-counter.hook.d.ts.map