From 92aa6a75eac274942e438de06df71f8261fdbcc2 Mon Sep 17 00:00:00 2001 From: Alexandre Desroches <69808183+alex-drocks@users.noreply.github.com> Date: Tue, 9 Aug 2022 19:29:07 -0400 Subject: [PATCH] Updated @astrojs/image README.md missing formats prop as subtitle (#4221) * Update README.md Added missing subtitle for `formats` prop of the component * Create fast-drinks-visit.md Co-authored-by: Fred K. Schott --- .changeset/fast-drinks-visit.md | 5 +++++ packages/integrations/image/README.md | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 .changeset/fast-drinks-visit.md diff --git a/.changeset/fast-drinks-visit.md b/.changeset/fast-drinks-visit.md new file mode 100644 index 000000000000..8853f3dcf117 --- /dev/null +++ b/.changeset/fast-drinks-visit.md @@ -0,0 +1,5 @@ +--- +"@astrojs/image": patch +--- + +README update diff --git a/packages/integrations/image/README.md b/packages/integrations/image/README.md index d0c7630fb521..c3cc8efb6634 100644 --- a/packages/integrations/image/README.md +++ b/packages/integrations/image/README.md @@ -228,6 +228,8 @@ A `string` can be provided in the form of `{width}:{height}`, ex: `16:9` or `3:4 A `number` can also be provided, useful when the aspect ratio is calculated at build time. This can be an inline number such as `1.777` or inlined as a JSX expression like `aspectRatio={16/9}`. +#### formats +

**Type:** `Array<'avif' | 'jpeg' | 'png' | 'webp'>`