We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01e7c32 commit fabda42Copy full SHA for fabda42
docs/Recipes.md
@@ -44,7 +44,7 @@ const LazyImage = ({ width, height, src, ...rest }) => {
44
const supportsLazyLoading = useNativeLazyLoading()
45
const [ref, inView] = useInView({
46
triggerOnce: true,
47
- margin: '200px 0px',
+ rootMargin: '200px 0px',
48
})
49
50
return (
0 commit comments