Files
citrus-cms/app/View/Components/Forms/Input.php
T
2026-04-28 21:14:25 +03:00

30 lines
528 B
PHP

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