[docs content] Image README formatting (#4082)
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
This commit is contained in:
parent
268d44e25b
commit
76ec35ff30
1 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue