set a stat color
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 2m12s

This commit is contained in:
Lee 2024-04-18 01:22:39 +01:00
parent defdcccdb6
commit 5a1284e8c2

View File

@ -13,7 +13,7 @@ export function Stat({ title, value, icon }: StatProps): ReactElement {
<div className="pr-2">{icon}</div>
<div className="pl-2">
<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>
);