mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-11 15:10:54 +00:00
20 lines
309 B
PHP
20 lines
309 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');
|
|
}
|
|
}
|