mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-15 16:33:02 -03:00
feat: moving props spread
This commit is contained in:
@@ -19,14 +19,12 @@ export function Avatar({ size, alt, src, ...props }: AvatarProps) {
|
||||
<div className="profile-avatar" style={{ width: size, height: size }}>
|
||||
{src ? (
|
||||
<img
|
||||
{...props}
|
||||
className="profile-avatar__image"
|
||||
alt={alt}
|
||||
src={src}
|
||||
width={size}
|
||||
height={size}
|
||||
{...props}
|
||||
width={size}
|
||||
height={size}
|
||||
/>
|
||||
) : (
|
||||
<PersonIcon size={size * 0.7} />
|
||||
|
||||
Reference in New Issue
Block a user