summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Desroches <69808183+alex-drocks@users.noreply.github.com> 2022-08-09 19:29:07 -0400
committerGravatar GitHub <noreply@github.com> 2022-08-09 16:29:07 -0700
commit92aa6a75eac274942e438de06df71f8261fdbcc2 (patch)
tree0ca4d955e7ebff275be3bad9f0dcf24b00039e13
parentfe3b423982faa87c106e6a072bb14cb0a6678064 (diff)
downloadastro-92aa6a75eac274942e438de06df71f8261fdbcc2.tar.gz
astro-92aa6a75eac274942e438de06df71f8261fdbcc2.tar.zst
astro-92aa6a75eac274942e438de06df71f8261fdbcc2.zip
Updated @astrojs/image README.md missing formats prop as subtitle (#4221)
* Update README.md Added missing subtitle for `formats` prop of the <Picture> component * Create fast-drinks-visit.md Co-authored-by: Fred K. Schott <fkschott@gmail.com>
-rw-r--r--.changeset/fast-drinks-visit.md5
-rw-r--r--packages/integrations/image/README.md2
2 files changed, 7 insertions, 0 deletions
diff --git a/.changeset/fast-drinks-visit.md b/.changeset/fast-drinks-visit.md
new file mode 100644
index 000000000..8853f3dcf
--- /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 d0c7630fb..c3cc8efb6 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
+
<p>
**Type:** `Array<'avif' | 'jpeg' | 'png' | 'webp'>`<br>