27 lines
484 B
PHP
27 lines
484 B
PHP
<?php
|
|
|
|
namespace App\Livewire\Subjects\Modals;
|
|
|
|
use Illuminate\Contracts\View\View;
|
|
use LivewireUI\Modal\ModalComponent;
|
|
|
|
class Detail extends ModalComponent
|
|
{
|
|
public array $subject = [];
|
|
|
|
public function mount(array $subject = []): void
|
|
{
|
|
$this->subject = $subject;
|
|
}
|
|
|
|
public static function modalMaxWidth(): string
|
|
{
|
|
return 'xl';
|
|
}
|
|
|
|
public function render(): View
|
|
{
|
|
return view('livewire.subjects.modals.detail');
|
|
}
|
|
}
|