MCPcopy Create free account
hub / github.com/alephdata/aleph / renderAnimated

Method renderAnimated

ui/src/react-ftm/types/Numeric.tsx:15–19  ·  view source on GitHub ↗
(number: number)

Source from the content-addressed store, hash-verified

13
14class Numeric extends React.PureComponent<INumericProps> {
15 renderAnimated(number: number) {
16 return (
17 <CountUp className="AnimatedCount__count" end={number} separator="," />
18 );
19 }
20 render() {
21 const { num, abbr = false, animate = false } = this.props;
22

Callers 1

renderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected