Files
HeimerdingerLoL/app/View/Components/Streamerpanel/StreamersTable.php
2024-03-26 10:27:36 +00:00

27 lines
558 B
PHP

<?php
namespace App\View\Components\Streamerpanel;
use Illuminate\Contracts\View\View;
use Illuminate\Support\Collection;
use Illuminate\View\Component;
class StreamersTable extends Component
{
/**
* Create a new component instance.
*/
public function __construct(public Collection $streamers)
{
$this->streamers = $streamers;
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View
{
return view('components.streamerpanel.streamers-table');
}
}