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]); + } +}