Skip to content

Commit

Permalink
chore(docs): add missing "try it out" (#53815)
Browse files Browse the repository at this point in the history
Follow up to #53760

This follows the same pattern as other demo links on this page.
  • Loading branch information
styfle authored Aug 10, 2023
1 parent 6bd8cd7 commit 89be8c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/02-app/02-api-reference/01-components/image.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,8 @@ const ThemeImage = (props) => {

> **Good to know**: The default behavior of `loading="lazy"` ensures that only the correct image is loaded. You cannot use `priority` or `loading="eager"` because that would cause both images to load. Instead, you can use [`fetchPriority="high"`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/fetchPriority).
Try it out:

- [Demo light/dark mode theme detection](https://image-component.nextjs.gallery/theme)

## Known Browser Bugs
Expand Down

0 comments on commit 89be8c4

Please sign in to comment.