Skip to content

Commit

Permalink
Add objectPosition to ImageProps interface
Browse files Browse the repository at this point in the history
  • Loading branch information
prototypa authored Oct 4, 2024
1 parent 0924374 commit f97b9cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/images-optimization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export interface ImageProps extends Omit<HTMLAttributes<'img'>, 'src'> {
layout?: Layout;
widths?: number[] | null;
aspectRatio?: string | number | null;
objectPosition?: string | null;
}

export type ImagesOptimizer = (
Expand Down

0 comments on commit f97b9cf

Please sign in to comment.