Skip to content

Commit

Permalink
Fixed CI build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rishit-singh committed Aug 21, 2023
1 parent 1e1d6f2 commit 43a7e69
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions frontend/src/app/hacks/IconLabel.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import Image from "next/image";

export function IconLabel({iconSrc, label, height, width, fontSize})
export function IconLabel({iconSrc, label, height, width}: {iconSrc: string, label: string, height: number, width: number})
{

return <div className={"grid grid-cols-2"}>
<Image src={iconSrc} alt={"Image"} height={height as number} width={width as number} className={"self-center justify-self-end"}></Image>
<Image src={iconSrc as string} alt={"Image"} height={height as number} width={width as number} className={"self-center justify-self-end"}></Image>
<span className={"text-lg text-white self-center ml-2"}>{label}</span>
</div>;
}

0 comments on commit 43a7e69

Please sign in to comment.