0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

[docs content] Image README formatting (#4082)

Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
This commit is contained in:
Sarah Rainsberger 2022-07-30 09:29:03 -03:00 committed by GitHub
parent 268d44e25b
commit 76ec35ff30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,7 +102,7 @@ For images in your project's repository, use the `src` relative to the `public`
<p>
**Type:** 'avif' | 'jpeg' | 'png' | 'webp'<br>
**Type:** `'avif' | 'jpeg' | 'png' | 'webp'`<br>
**Default:** `undefined`
</p>
@ -201,7 +201,7 @@ See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/size
<p>
**Type:** `number[]`<br>
**Reuqired:** `true`
**Required:** `true`
</p>
The list of sizes that should be built for responsive images. This is combined with `aspectRatio` to calculate the final dimensions of each built image.
@ -229,7 +229,7 @@ A `number` can also be provided, useful when the aspect ratio is calculated at b
<p>
**Type:** Array<'avif' | 'jpeg' | 'png' | 'webp'><br>
**Type:** `Array<'avif' | 'jpeg' | 'png' | 'webp'>`<br>
**Default:** `undefined`
</p>