Closed nunomaduro closed 1 year ago
This pull request closes https://github.com/livewire/volt/issues/10, and it allows to specify that the given component implements an given interface. Example:
<?php use Filament\Tables\Concerns\InteractsWithTable; use Filament\Tables\Contracts\HasTable; use Filament\Tables\Table; use function Livewire\Volt\uses; uses([HasTable::class, InteractsWithTable::class]); ?> $table = fn(Table $table): Table => $table ->query(Product::query()) ->columns([ TextColumn::make('name'), ]) ->filters([ // ... ]); ?> <div> ...
This pull request closes https://github.com/livewire/volt/issues/10, and it allows to specify that the given component implements an given interface. Example: