@props([
'id' => null,
'title' => null,
'description' => null,
'icon' => 'o-x-circle',
'only' => []
])
@if ($errors->any())
class(["flex justify-start alert alert-error rounded rounded-md"]) }} >
@if($title)
@endif
@if($title)
{{ $title }}
@endif
@if($description)
{{ $description }}
@endif
@foreach ($errors->all() as $error)
- {{ $error }}
@endforeach
@endif