Skip to content

Commit

Permalink
Updated @astrojs/image README.md missing formats prop as subtitle (#4221
Browse files Browse the repository at this point in the history
)

* Update README.md

Added missing subtitle for `formats` prop of the <Picture> component

* Create fast-drinks-visit.md

Co-authored-by: Fred K. Schott <[email protected]>
  • Loading branch information
alex-drocks and FredKSchott authored Aug 9, 2022
1 parent fe3b423 commit 92aa6a7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/fast-drinks-visit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@astrojs/image": patch
---

README update
2 changes: 2 additions & 0 deletions packages/integrations/image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 92aa6a7

Please sign in to comment.