Files
2025-07-24 16:18:27 +07:00

25 lines
434 B
PHP

<?php
namespace App\View\Components\Card;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class CardLink extends Component
{
public $href;
public $icon;
public function __construct($href = '#', $icon = '')
{
$this->href = $href;
$this->icon = $icon;
}
public function render(): View|Closure|string
{
return view('components.card-link');
}
}