polish(theme): MDX images should use async decoding (#9470)

This commit is contained in:
Sanjaiyan Parthipan 2024-01-13 01:55:18 +05:30 committed by sebastien
parent f55aad181f
commit a2c8b4185b

View file

@ -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)}