From 1a04a9882ac6b90ab627063e1824e318f9ae59f3 Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Thu, 24 Nov 2022 08:40:33 +0800 Subject: [PATCH] Add files via upload --- app/View/Components/HostStatus.php | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 app/View/Components/HostStatus.php diff --git a/app/View/Components/HostStatus.php b/app/View/Components/HostStatus.php new file mode 100644 index 0000000..4dc06e4 --- /dev/null +++ b/app/View/Components/HostStatus.php @@ -0,0 +1,32 @@ +status = $status; + } + + /** + * Get the view / contents that represent the component. + * + * @return \Illuminate\Contracts\View\View|\Closure|string + */ + public function render() + { + return view('components.host-status', ['status' => $this->status]); + } +}