mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-06-11 11:11:43 +00:00
33 lines
870 B
PHP
33 lines
870 B
PHP
<?php
|
|
|
|
namespace FireflyIII\View\Components\Layout;
|
|
|
|
use Closure;
|
|
use Illuminate\Contracts\View\View;
|
|
use Illuminate\View\Component;
|
|
|
|
class Flash extends Component
|
|
{
|
|
public bool $invalidMonetaryLocale;
|
|
public string $upgradeSecurityMessage;
|
|
public string $upgradeSecurityLevel;
|
|
|
|
/**
|
|
* Create a new component instance.
|
|
*/
|
|
public function __construct(bool $invalidMonetaryLocale, string $upgradeSecurityMessage, string $upgradeSecurityLevel)
|
|
{
|
|
$this->invalidMonetaryLocale = $invalidMonetaryLocale;
|
|
$this->upgradeSecurityMessage = $upgradeSecurityMessage;
|
|
$this->upgradeSecurityLevel = $upgradeSecurityLevel;
|
|
}
|
|
|
|
/**
|
|
* Get the view / contents that represent the component.
|
|
*/
|
|
public function render(): View | Closure | string
|
|
{
|
|
return view('components.layout.flash');
|
|
}
|
|
}
|