MikeXado / TimesUp

Home Page:https://times-up-mu.vercel.app/dashboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug | thumbColor does not exist on type of Progress component

MikeXado opened this issue · comments

<html>
<body>
<!--StartFragment-->

Type error: Type '{ value: number; thumbColor: string; className: string; }' is not assignable to type 'IntrinsicAttributes & Omit<ProgressProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>'.
--
15:53:09.750 | Property 'thumbColor' does not exist on type 'IntrinsicAttributes & Omit<ProgressProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>'.
15:53:09.750 |  
15:53:09.750 | 81 \|                     <Progress
15:53:09.750 | 82 \|                       value={progress}
15:53:09.750 | > 83 \|                       thumbColor="bg-green-600"
15:53:09.750 | \|                       ^
15:53:09.750 | 84 \|                       className={cn("h-[8px] bg-gray-300")}
15:53:09.751 | 85 \|                     />
15:53:09.751 | 86 \|                     <span className="font-medium text-lg">

<!--EndFragment-->
</body>
</html>