Skip to content

Commit 89be8c4

Browse files
authored
chore(docs): add missing "try it out" (#53815)
Follow up to #53760 This follows the same pattern as other demo links on this page.
1 parent 6bd8cd7 commit 89be8c4

File tree

1 file changed

+2
-0
lines changed
  • docs/02-app/02-api-reference/01-components

1 file changed

+2
-0
lines changed

docs/02-app/02-api-reference/01-components/image.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,8 @@ const ThemeImage = (props) => {
783783

784784
> **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).
785785

786+
Try it out:
787+
786788
- [Demo light/dark mode theme detection](https://image-component.nextjs.gallery/theme)
787789

788790
## Known Browser Bugs

0 commit comments

Comments
 (0)