diff --git a/website/components/io-home-card/index.tsx b/website/components/io-home-card/index.tsx index d5d26f4fd3c7..676fa425146b 100644 --- a/website/components/io-home-card/index.tsx +++ b/website/components/io-home-card/index.tsx @@ -9,7 +9,9 @@ import s from './style.module.css' interface IoHomeCardProps { variant?: 'light' | 'gray' | 'dark' - products?: Array + products?: Array<{ + name: keyof typeof productLogos + }> link: { url: string type: 'inbound' | 'outbound' @@ -30,7 +32,7 @@ function IoHomeCard({ heading, description, children, -}: IoHomeCardProps) { +}: IoHomeCardProps): React.ReactElement { const LinkWrapper = ({ className, children }) => link.type === 'inbound' ? ( @@ -62,10 +64,15 @@ function IoHomeCard({