@props(['user' => null, 'name' => null, 'extra' => null, 'avatar' => null, 'stats' => null])
merge(['class' => 'flex items-center justify-between p-3 gap-3 bg-gray-50 dark:bg-gray-800/50 rounded']) }}>
@if (isset($avatar)) {{ $avatar }} @elseif ($user->avatar ?? false) {{ $user->name }} @endif
{{ $user->name ?? $name }}
{{ $user->extra ?? $extra }}
@if (isset($stats))
{{ $stats }}
@endif