Skip to content

Commit

Permalink
feat: Support lazy loading images by default
Browse files Browse the repository at this point in the history
  • Loading branch information
icaraps committed Oct 17, 2020
1 parent cc04b3e commit b7cf30d
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 const Image = ({ alt, src, className, ...props }) => {
{...props}
alt={alt}
src={src}
loading="lazy"
css={css`
max-width: 100%;
border-radius: var(--spectrum-global-dimension-size-50);
Expand Down

0 comments on commit b7cf30d

Please sign in to comment.