Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Dueen committed Aug 30, 2022
1 parent 33bff23 commit 14d7ef8
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions docs/api-reference/next/image.md
Expand Up @@ -281,12 +281,14 @@ import React from 'react'

const Example = () => {
const lazyRoot = React.useRef(null)

return (
<div ref={lazyRoot} style={{ overflowX: 'scroll', width: '500px' }}>
<Image lazyRoot={lazyRoot} src="/one.jpg" width="500" height="500" />
<Image lazyRoot={lazyRoot} src="/two.jpg" width="500" height="500" />
</div>
)}
<div ref={lazyRoot} style={{ overflowX: "scroll", width: "500px" }}>
<Image lazyRoot={lazyRoot} src="/one.jpg" width="500" height="500" />
<Image lazyRoot={lazyRoot} src="/two.jpg" width="500" height="500" />
</div>
)
}
```

**Example pointing to a React component**
Expand Down

0 comments on commit 14d7ef8

Please sign in to comment.