<!-- resources/views/components/activity-icon.blade.php -->
@props(['type'])

@php
    $icons = [
        'upload' => 'document-upload',
        'approval' => 'shield-check',
        'comment' => 'chat-alt',
        'update' => 'pencil-alt',
        'delete' => 'trash'
    ];
    
    $defaultIcon = 'bell';
@endphp

<x-icons :icon="$icons[$type] ?? $defaultIcon" class="w-5 h-5 text-gray-400" />