mirror of
https://github.com/rico-vz/HeimerdingerLoL.git
synced 2025-12-06 10:10:48 +01:00
27 lines
558 B
PHP
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');
|
|
}
|
|
}
|