@props(['theme' => 'border', 'type' => 'info', 'title' => '', 'message' => '', 'class' => ''])
@if ($type)
merge(['class' => 'alert alert-dismissible fade show material-shadow alert-' . $type . ' ' . $theme . ' ' . $class]) }} role="alert">
@if ($title)
{!! $title !!}
@endif
{!! $message !!}
@endif
@if (count($errors) > 0)
@foreach ($errors->all() as $error)
- {{ $error }}
@endforeach
@endif