mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-02 19:03:38 +02:00
polish(theme): MDX images should use async decoding (#9470)
This commit is contained in:
parent
f55aad181f
commit
a2c8b4185b
1 changed files with 1 additions and 0 deletions
|
@ -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)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue