UNPKG
@johnrom/react-countup
Version:
latest (5.0.0-johnrom2)
5.0.0-johnrom2
5.0.0-johnrom1
A React component wrapper around CountUp.js
react-countup.now.sh
glennreyes/react-countup
@johnrom/react-countup
/
build
/
common.d.ts
4 lines
(3 loc)
•
215 B
TypeScript
View Raw
1
2
3
4
import
{
CountUp
}
from
'countup.js'
;
import
{ useCountUpProps }
from
'./useCountUp'
;
export
declare
const
createCountUpInstance
:
(
el
:
string
|
HTMLElement
|
HTMLInputElement
,
props
: useCountUpProps
) =>
CountUp
;