2025-03-26 10:01:46 +07:00

36 lines
638 B
PHP

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