import { cn } from "@/utils"; import { Avatar, AvatarFallback, AvatarImage } from "../shadcnui"; import { getInitials } from "../utils/getInitials"; type TableCellAvatarProps = { image?: string; name: string; className?: string; }; export function TableCellAvatar({ image, name, className }: TableCellAvatarProps) { return ( {image ? : null} {getInitials(name)} ); }