Skip to content

Commit

Permalink
Merge pull request #58 from Myoxocephalus/patch-1
Browse files Browse the repository at this point in the history
Updated documentation with avif.
  • Loading branch information
arefaslani committed Nov 1, 2020
2 parents 917bb00 + c703531 commit 140deaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
![npm](https://img.shields.io/david/arefaslani/next-images.svg)

Import images in [Next.js](https://github.com/zeit/next.js)
(jpg, jpeg, png, svg, fig, ico, webp, and jp2 images by default).
(jpg, jpeg, png, svg, fig, ico, webp, jp2 and avif images by default).

## Features
* Load images from local computer
Expand Down Expand Up @@ -123,7 +123,7 @@ adding image types that behave similarly, but are not included by default. It's
**TypeScript Users:** If you exclude a file suffix, please note our shipped types declaration file will be incorrect. You'll want to use declaration merging or override dependencies for the same file suffixes as needed.

**Please note**: If you have issues with a file suffix not included in our default list
(["jpg", "jpeg", "png", "svg", "gif", "ico", "webp", "jp2"]), we won't be able to guarantee bug support.
(["jpg", "jpeg", "png", "svg", "gif", "ico", "webp", "jp2", "avif"]), we won't be able to guarantee bug support.

Example usage:
```js
Expand Down

0 comments on commit 140deaf

Please sign in to comment.