install
This commit is contained in:
23
resources/views/vendor/filament-widgets/stats-overview-widget.blade.php
vendored
Normal file
23
resources/views/vendor/filament-widgets/stats-overview-widget.blade.php
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
@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>
|
||||
Reference in New Issue
Block a user