Files
firefly-iii/app/View/Components/Elements/CardFooterWithMenu.php
T
2026-06-16 06:32:24 +02:00

30 lines
650 B
PHP

<?php
namespace FireflyIII\View\Components\Elements;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;
class CardFooterWithMenu extends Component
{
public string $route;
public string $linkTitle;
/**
* Create a new component instance.
*/
public function __construct( string $route, string $linkTitle)
{
$this->route = $route;
$this->linkTitle = $linkTitle;
}
/**
* Get the view / contents that represent the component.
*/
public function render(): View|Closure|string
{
return view('components.elements.card-footer-with-menu');
}
}