mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Make Stat component macroable
This commit is contained in:
@@ -4,6 +4,7 @@ namespace Filament\Widgets\StatsOverviewWidget;
|
||||
|
||||
use Closure;
|
||||
use Filament\Support\Enums\IconPosition;
|
||||
use Filament\Support\Concerns\Macroable;
|
||||
use Illuminate\Contracts\Support\Htmlable;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Illuminate\Support\Str;
|
||||
@@ -12,6 +13,8 @@ use Illuminate\View\ComponentAttributeBag;
|
||||
|
||||
class Stat extends Component implements Htmlable
|
||||
{
|
||||
use Macroable;
|
||||
|
||||
/**
|
||||
* @var array<float> | null
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user