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>
This commit is contained in:
parent
fe3b423982
commit
92aa6a75ea
2 changed files with 7 additions and 0 deletions
5
.changeset/fast-drinks-visit.md
Normal file
5
.changeset/fast-drinks-visit.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@astrojs/image": patch
|
||||
---
|
||||
|
||||
README update
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue