Creato traduzione per il calendario in Italiano per giorni e mesi

This commit is contained in:
2023-10-04 10:43:16 +02:00
parent 0440bba9f4
commit 21cc195ce4
6 changed files with 125 additions and 35 deletions

View File

@@ -0,0 +1,31 @@
<?php
namespace App\View\Components\Widget;
use Illuminate\View\Component;
class Avvisi extends Component
{
/**
* Create a new component instance.
*
* @return void
*/
// public $avvisi ="";
public function __construct(public array $avvisi)
{
//
}
/**
* Get the view / contents that represent the component.
*
* @return \Illuminate\Contracts\View\View|\Closure|string
*/
public function render():View
{
return view('components.widget.avvisi', ['avvisi'=>$this->avvisi]);
}
}