Skip to content

Commit

Permalink
feat(avatar): adds blur placeholder
Browse files Browse the repository at this point in the history
Adds a blur placeholder for the avatar image
  • Loading branch information
anguspiv committed Nov 28, 2022
1 parent 826e859 commit d209206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/atoms/Avatar/Avatar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { frame, image } from './styles';
export function Avatar({ className, width, height, ...props }) {
return (
<div data-testid="avatar" className={className} css={frame}>
<Image {...props} layout="fill" css={image} />
<Image {...props} layout="fill" css={image} placeholder="blur" />
</div>
);
}
Expand Down

0 comments on commit d209206

Please sign in to comment.