added card component

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Pedro Cabral
2026-05-08 22:06:56 +02:00
parent 1bc3e5f885
commit 38df2d4fc8
4 changed files with 74 additions and 4 deletions

View File

@@ -0,0 +1,21 @@
<?php
declare(strict_types=1);
namespace App\View\Components;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class Card extends Component
{
public function __construct(public string $header = '')
{
//
}
public function render(): View
{
return view('components.card');
}
}