This commit is contained in:
Belen Curcio
2021-01-06 21:24:09 -03:00
parent a8814983a6
commit 36396e23c1
4 changed files with 188 additions and 35 deletions

20
framework/types.d.ts vendored
View File

@@ -13,13 +13,13 @@ interface Images {
alt?: string
}
interface NextImage {
src: string
width: number | string
height: number | string
layout?: 'fixed' | 'intrinsic' | 'responsive' | undefined
priority?: boolean
loading?: 'eager' | 'lazy'
sizes?: string
alt?: string
}
// interface NextImageProps {
// src: string
// width: number | string
// height: number | string
// layout?: 'fixed' | 'intrinsic' | 'responsive' | undefined
// priority?: boolean
// loading?: 'eager' | 'lazy'
// sizes?: string
// alt?: string
// }