@manta-eu/react/count-up
Reference for @manta-eu/react/count-up as it is on main.
Type Aliases
CountUpProps
CountUpProps =
object
Properties
animateOnView?
optionalanimateOnView?:boolean
className?
optionalclassName?:string
decimals?
optionaldecimals?:number
duration?
optionalduration?:number
Roll duration in seconds; the smooth spring by default.
locale?
optionallocale?:Intl.LocalesArgument
Grouping locale; the runtime’s by default. Digits stay Latin.
prefix?
optionalprefix?:string
suffix?
optionalsuffix?:string
value
value:
number
Functions
CountUp()
CountUp(
props):Element
Parameters
props
Returns
Element
countUpFormatter()
countUpFormatter(
locale,decimals):NumberFormat
The figure’s formatter: the locale’s grouping, Latin digits.
Parameters
locale
LocalesArgument
decimals
number
Returns
NumberFormat