You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
413 B
22 lines
413 B
<?php
|
|
|
|
namespace App\View\Components;
|
|
|
|
use Illuminate\View\Component;
|
|
|
|
class SkeletonForm extends Component
|
|
{
|
|
public $fields;
|
|
public $buttonCount;
|
|
|
|
public function __construct(int $fields = 2, int $buttonCount = 2)
|
|
{
|
|
$this->fields = $fields;
|
|
$this->buttonCount = $buttonCount;
|
|
}
|
|
|
|
public function render()
|
|
{
|
|
return view('components.skeleton-form');
|
|
}
|
|
}
|
|
|