A component to display a numerical score. It supports custom formatting and an optional count-up animation.
The props for the component. See IScoreProps.
Optional
A React element that displays the formatted score.
<Score value={12345} format="Points: {0}" useAnimation /> Copy
<Score value={12345} format="Points: {0}" useAnimation />
Generated using TypeDoc
A component to display a numerical score. It supports custom formatting and an optional count-up animation.