Add ability to preview application

This commit is contained in:
2020-07-12 19:36:12 +01:00
parent e978a5417b
commit 1f50faaea7
8 changed files with 159 additions and 32 deletions

View File

@@ -0,0 +1,33 @@
<?php
namespace App\View\Components;
use Illuminate\View\Component;
class Form extends Component
{
public $formFields;
public $disableFields = false;
/**
* Create a new component instance.
*
* @return void
*/
public function __construct($disableFields = false)
{
$this->disableFields = $disableFields;
}
/**
* Get the view / contents that represent the component.
*
* @return \Illuminate\View\View|string
*/
public function render()
{
return view('components.form');
}
}