23 lines
442 B
PHP
23 lines
442 B
PHP
<?php
|
|
|
|
namespace App\View;
|
|
|
|
use App\Components\MainLayout;
|
|
use PHPNative\UI\BaseView;
|
|
use PHPNative\UI\Collection\Views;
|
|
use PHPNative\UI\View;
|
|
|
|
class WindowView extends BaseView implements View
|
|
{
|
|
public string $style = "bg-white w-full h-full flex flex-col";
|
|
|
|
public function __construct(private MainLayout $mainLayout)
|
|
{
|
|
}
|
|
|
|
public function getViews(): ?Views
|
|
{
|
|
return new Views([$this->mainLayout]);
|
|
}
|
|
|
|
} |