Fixed more types

This commit is contained in:
Luis Alvarez
2021-02-15 00:09:57 -05:00
parent d9243880a3
commit c636fcbc4b
2 changed files with 4 additions and 2 deletions

View File

@@ -7,7 +7,8 @@ import Image, { ImageProps } from 'next/image'
interface Props {
className?: string
product: Product
// TODO: use the product type here
product: any
variant?: 'slim' | 'simple'
imgProps?: Omit<ImageProps, 'src'>
}