adrema/app/View/Mail/Editor.php

29 lines
527 B
PHP
Raw Permalink Normal View History

<?php
namespace App\View\Mail;
use Illuminate\View\Component;
class Editor extends Component
{
/**
* Create a new component instance.
*
* @param array<int, mixed> $content
* @return void
*/
public function __construct(public array $content)
{
}
/**
* Get the view / contents that represent the component.
*
* @return \Illuminate\Contracts\View\View|\Closure|string
*/
public function render()
{
return view('components.mail.editor');
}
}