This repository has been archived on 2026-09-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2026-01-14 00:54:08 +00:00

23 lines
391 B
PHP

<?php
namespace App\View\Components;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
use App\Models\Course;
class CourseCard extends Component
{
public Course $course;
public function __construct(Course $course)
{
$this->course = $course;
}
public function render()
{
return view('components.course-card');
}
}