summaryrefslogtreecommitdiff
path: root/packages/integrations/image/components/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/image/components/index.ts')
-rw-r--r--packages/integrations/image/components/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/integrations/image/components/index.ts b/packages/integrations/image/components/index.ts
index 2ca557656..3135e0e21 100644
--- a/packages/integrations/image/components/index.ts
+++ b/packages/integrations/image/components/index.ts
@@ -31,8 +31,8 @@ export interface PictureComponentLocalImageProps
src: ImageMetadata | Promise<{ default: ImageMetadata }>;
/** Defines an alternative text description of the image. Set to an empty string (alt="") if the image is not a key part of the content (it's decoration or a tracking pixel). */
alt: string;
- sizes: HTMLImageElement['sizes'];
widths: number[];
+ sizes?: HTMLImageElement['sizes'];
formats?: OutputFormat[];
}
@@ -43,9 +43,9 @@ export interface PictureComponentRemoteImageProps
src: string;
/** Defines an alternative text description of the image. Set to an empty string (alt="") if the image is not a key part of the content (it's decoration or a tracking pixel). */
alt: string;
- sizes: HTMLImageElement['sizes'];
widths: number[];
aspectRatio: TransformOptions['aspectRatio'];
+ sizes?: HTMLImageElement['sizes'];
formats?: OutputFormat[];
background?: TransformOptions['background'];
}