Fix type to objectPosition in ImageProps interface
This commit is contained in:
@@ -21,7 +21,7 @@ export interface ImageProps extends Omit<HTMLAttributes<'img'>, 'src'> {
|
|||||||
layout?: Layout;
|
layout?: Layout;
|
||||||
widths?: number[] | null;
|
widths?: number[] | null;
|
||||||
aspectRatio?: string | number | null;
|
aspectRatio?: string | number | null;
|
||||||
objectPosition?: string | null;
|
objectPosition?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type ImagesOptimizer = (
|
export type ImagesOptimizer = (
|
||||||
|
Reference in New Issue
Block a user