diff options
author | 2022-10-10 17:06:55 +0200 | |
---|---|---|
committer | 2022-10-10 11:06:55 -0400 | |
commit | c5484add6a450e29ab9a23b2ddc8d635a695770a (patch) | |
tree | 55199b97bef58fa4870405cf070e2a78f078170e | |
parent | 38fdb4ca6f7c6af2fff69fe5bd60bdf2c9d7a6f1 (diff) | |
download | astro-c5484add6a450e29ab9a23b2ddc8d635a695770a.tar.gz astro-c5484add6a450e29ab9a23b2ddc8d635a695770a.tar.zst astro-c5484add6a450e29ab9a23b2ddc8d635a695770a.zip |
Corrected the getImage() paramaters (#5040)
-rw-r--r-- | packages/integrations/image/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/integrations/image/README.md b/packages/integrations/image/README.md index 43f935889..e57331124 100644 --- a/packages/integrations/image/README.md +++ b/packages/integrations/image/README.md @@ -397,7 +397,7 @@ This can be helpful if you need to add preload links to a page's `<head>`. --- import { getImage } from '@astrojs/image'; -const { src } = await getImage('../assets/hero.png'); +const { src } = await getImage({src: '../assets/hero.png'}); --- <html> |