[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
BACKUP C 19-12
/
XAMPP74
/
htdocs
/
surat
/
app
/
View
/
Components
/
[
Home
]
File: InputForm.php
<?php namespace App\View\Components; use Closure; use Illuminate\Contracts\View\View; use Illuminate\View\Component; class InputForm extends Component { public string $name, $label, $type, $value; /** * Create a new component instance. * * @return void */ public function __construct(string $name, $label, $type = 'text', $value = '') { $this->name = $name; $this->label = $label; $this->type = $type; $this->value = $value; } /** * Get the view / contents that represent the component. * * @return View|Closure|string */ public function render(): View|string|Closure { return view('components.input-form'); } }