{{--
Meta Badge Component
A generic meta badge with custom icon and content.
@props
- icon: string - Icon name
- tooltip: string - Tooltip text
- type: string - Badge type (ref, date, email, default) - default: 'default'
@example
user@example.com
--}}
@props([
'icon' => 'info',
'tooltip' => '',
'type' => 'default',
])
@php
$typeClass = match($type) {
'ref' => 'meta-ref',
'date' => 'meta-date',
'email' => 'meta-email',
'status' => 'meta-status',
default => '',
};
@endphp
{{ $slot }}