set a stat color
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 2m12s
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 2m12s
This commit is contained in:
parent
defdcccdb6
commit
5a1284e8c2
@ -13,7 +13,7 @@ export function Stat({ title, value, icon }: StatProps): ReactElement {
|
|||||||
<div className="pr-2">{icon}</div>
|
<div className="pr-2">{icon}</div>
|
||||||
<div className="pl-2">
|
<div className="pl-2">
|
||||||
<p>{title}</p>
|
<p>{title}</p>
|
||||||
<CountUp start={0} end={value} duration={0.5} preserveValue />
|
<CountUp start={0} end={value} duration={0.5} preserveValue className="text-primary" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user