mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
27 lines
525 B
PHP
27 lines
525 B
PHP
<?php
|
|
|
|
namespace App\View\Components\Inputs;
|
|
|
|
use App\View\Components\InputWrapper;
|
|
use Illuminate\View\Component;
|
|
|
|
class Editor extends InputWrapper
|
|
{
|
|
public function init()
|
|
{
|
|
// Aggiunta classe CSS dedicata
|
|
$this->get('class')
|
|
->add('editor-input');
|
|
}
|
|
|
|
/**
|
|
* Get the view / contents that represent the component.
|
|
*
|
|
* @return \Illuminate\Contracts\View\View|string
|
|
*/
|
|
public function render()
|
|
{
|
|
return view('components.inputs.editor');
|
|
}
|
|
}
|