23 lines
478 B
PHP
23 lines
478 B
PHP
<?php
|
|
|
|
namespace App\Components;
|
|
|
|
use PHPNative\UI\Collection\Views;
|
|
use PHPNative\UI\View;
|
|
use PHPNative\UI\Widget\Container;
|
|
use PHPNative\UI\Widget\Label;
|
|
|
|
class TaskList extends Container
|
|
{
|
|
public function __construct()
|
|
{
|
|
$this->style = "basis-4/6 h-full flex flex-col";
|
|
}
|
|
|
|
public function getViews(): ?Views
|
|
{
|
|
return new Views([
|
|
new Label(label: 'Issues', style: 'w-full p-30 m-40 bg-lime-400 text-black')
|
|
]);
|
|
}
|
|
} |