Files
freeu-project/app/View/Components/LearnMore.php
Ritikesh yadav c661166e1d first commit
2024-03-28 14:52:40 +05:30

30 lines
545 B
PHP

<?php
namespace App\View\Components;
use Illuminate\View\Component;
class LearnMore extends Component
{
public $learnMore;
/**
* Create a new component instance.
*
* @return void
*/
public function __construct($learnMore)
{
$this->learnMore = $learnMore;
}
/**
* Get the view / contents that represent the component.
*
* @return \Illuminate\Contracts\View\View|\Closure|string
*/
public function render()
{
return view('components.learn-more');
}
}