Skip to content

Commit

Permalink
Merge branch 'master' of github.com:twopluszero/next-images
Browse files Browse the repository at this point in the history
  • Loading branch information
arefaslani committed Nov 22, 2020
2 parents 621c6f8 + 140deaf commit 6f26ec7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 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 Expand Up @@ -192,5 +192,7 @@ module.exports = withImages({
Try out some of these awesome NextJS dashboard templates developed by Creative Team and support this project indirectly :)

[https://www.creative-tim.com/product/material-dashboard-pro-react/?ref=next-images](https://www.creative-tim.com/product/material-dashboard-pro-react/?ref=next-images)

[https://www.creative-tim.com/product/nextjs-argon-dashboard-pro/?ref=next-images](https://www.creative-tim.com/product/nextjs-argon-dashboard-pro/?ref=next-images)

[https://www.creative-tim.com/product/nextjs-material-kit-pro/?ref=next-images](https://www.creative-tim.com/product/nextjs-material-kit-pro/?ref=next-images)

0 comments on commit 6f26ec7

Please sign in to comment.