diff --git a/app/View/Components/BasicCard.php b/app/View/Components/BasicCard.php new file mode 100644 index 0000000..1454173 --- /dev/null +++ b/app/View/Components/BasicCard.php @@ -0,0 +1,33 @@ +title = $title; + } + + /** + * Get the view / contents that represent the component. + * + * @return View + */ + public function render(): View + { + return view('components.basic-card', [ + 'title' => $this->title, + ]); + } +}