Files
ProxyPanel/app/View/Components/Alert.php
2023-06-14 22:34:55 +08:00

24 lines
354 B
PHP

<?php
namespace App\View\Components;
use Illuminate\View\Component;
class Alert extends Component
{
public $type;
public $message;
public function __construct($type, $message)
{
$this->type = $type;
$this->message = $message;
}
public function render()
{
return view('components.alert');
}
}