lernschiff/app/Livewire/Notifications/Modals/Detail.php

27 lines
514 B
PHP

<?php
namespace App\Livewire\Notifications\Modals;
use Illuminate\Contracts\View\View;
use LivewireUI\Modal\ModalComponent;
class Detail extends ModalComponent
{
public array $notification = [];
public function mount(array $notification = []): void
{
$this->notification = $notification;
}
public static function modalMaxWidth(): string
{
return 'lg';
}
public function render(): View
{
return view('livewire.notifications.modals.detail');
}
}