[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> <p>
**Type:** 'avif' | 'jpeg' | 'png' | 'webp'<br> **Type:** `'avif' | 'jpeg' | 'png' | 'webp'`<br>
**Default:** `undefined` **Default:** `undefined`
</p> </p>
@ -201,7 +201,7 @@ See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/size
<p> <p>
**Type:** `number[]`<br> **Type:** `number[]`<br>
**Reuqired:** `true` **Required:** `true`
</p> </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. 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> <p>
**Type:** Array<'avif' | 'jpeg' | 'png' | 'webp'><br> **Type:** `Array<'avif' | 'jpeg' | 'png' | 'webp'>`<br>
**Default:** `undefined` **Default:** `undefined`
</p> </p>