From c9315dcb0416c59f09fde4b003841259b0843c11 Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Sun, 12 Feb 2023 01:09:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=9B=9E=20basic=20card?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/View/Components/BasicCard.php | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 app/View/Components/BasicCard.php 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, + ]); + } +}