Update source into github
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?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');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user