Skip to content

Commit

Permalink
perf: improve image decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjaiyan-dev authored Oct 30, 2023
1 parent 495c793 commit 3b00580
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export default function MDXImg(props: Props): JSX.Element {
return (
// eslint-disable-next-line jsx-a11y/alt-text
<img
decoding="async"
loading="lazy"
{...props}
className={transformImgClassName(props.className)}
Expand Down

0 comments on commit 3b00580

Please sign in to comment.