/
dimamir
/
coolify
Обзор
Документация
Войти
/
dimamir
/
coolify
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
app/View/Components/Modal.php
34 строки
777 B
Thijmen
Fix styling
10 июн 2024, 23:43
10 июн 2024, 23:43
d86274c
Код
Авторство
О чём код?
<?php namespace App\View\Components; use Closure; use Illuminate\Contracts\View\View; use Illuminate\View\Component; class Modal extends Component { /** * Create a new component instance. */ public function __construct( public string $modalId, public ?string $submitWireAction = null, public ?string $modalTitle = null, public ?string $modalBody = null, public ?string $modalSubmit = null, public bool $noSubmit = false, public bool $yesOrNo = false, public string $action = 'delete' ) { // } /** * Get the view / contents that represent the component. */ public function render(): View|Closure|string { return view('components.modal'); } }