refactor(characters): drive shared UI from active character
This commit is contained in:
@@ -4,8 +4,8 @@ import Image from "next/image";
|
||||
import type { CSSProperties } from "react";
|
||||
|
||||
export interface CharacterAvatarProps {
|
||||
src?: string;
|
||||
alt?: string;
|
||||
src: string;
|
||||
alt: string;
|
||||
className?: string;
|
||||
size?: number | string;
|
||||
imageSize?: number;
|
||||
@@ -13,8 +13,8 @@ export interface CharacterAvatarProps {
|
||||
}
|
||||
|
||||
export function CharacterAvatar({
|
||||
src = "/images/avatar/elio.png",
|
||||
alt = "Elio Silvestri",
|
||||
src,
|
||||
alt,
|
||||
className,
|
||||
size = 43,
|
||||
imageSize,
|
||||
|
||||
Reference in New Issue
Block a user