summaryrefslogtreecommitdiff
path: root/packages/integrations/image/components/Image.astro
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/image/components/Image.astro')
-rw-r--r--packages/integrations/image/components/Image.astro18
1 files changed, 0 insertions, 18 deletions
diff --git a/packages/integrations/image/components/Image.astro b/packages/integrations/image/components/Image.astro
deleted file mode 100644
index dea492de0..000000000
--- a/packages/integrations/image/components/Image.astro
+++ /dev/null
@@ -1,18 +0,0 @@
----
-// @ts-ignore
-import { getImage } from '../dist/index.js';
-import { warnForMissingAlt } from './index.js';
-import type { ImageComponentLocalImageProps, ImageComponentRemoteImageProps } from './index.js';
-
-export type Props = ImageComponentLocalImageProps | ImageComponentRemoteImageProps;
-
-const { loading = 'lazy', decoding = 'async', ...props } = Astro.props;
-
-if (props.alt === undefined || props.alt === null) {
- warnForMissingAlt();
-}
-
-const attrs = await getImage(props);
----
-
-<img {...attrs} {loading} {decoding} />