Files
investbrain/app/View/Components/MainLayout.php
T

26 lines
427 B
PHP
Raw Normal View History

2024-08-01 13:53:10 -05:00
<?php
2025-01-28 17:33:54 -06:00
declare(strict_types=1);
2024-08-01 13:53:10 -05:00
namespace App\View\Components;
use Illuminate\View\Component;
use Illuminate\View\View;
2024-08-05 22:41:53 -05:00
class MainLayout extends Component
2024-08-01 13:53:10 -05:00
{
public function __construct(
// Slots
public mixed $body = null,
2025-01-28 17:14:49 -06:00
) {}
2024-08-01 13:53:10 -05:00
/**
* Get the view / contents that represents the component.
*/
public function render(): View
{
2024-08-05 22:41:53 -05:00
return view('layouts.main-layout');
2024-08-01 13:53:10 -05:00
}
}