24 lines
637 B
PHP
24 lines
637 B
PHP
@php
|
|
$columns = $this->getColumns();
|
|
$pollingInterval = $this->getPollingInterval();
|
|
|
|
$heading = $this->getHeading();
|
|
$description = $this->getDescription();
|
|
$hasHeading = filled($heading);
|
|
$hasDescription = filled($description);
|
|
@endphp
|
|
|
|
<x-filament-widgets::widget
|
|
:attributes="
|
|
(new \Illuminate\View\ComponentAttributeBag)
|
|
->merge([
|
|
'wire:poll.' . $pollingInterval => $pollingInterval ? true : null,
|
|
], escape: false)
|
|
->class([
|
|
'fi-wi-stats-overview',
|
|
])
|
|
"
|
|
>
|
|
{{ $this->content }}
|
|
</x-filament-widgets::widget>
|