query(fn (): Builder => Event::query()) ->columns([ // TextColumn::make('country.name') // ->color('gray') // ->label('Event') // ->icon(fn ($record) => $record->country->icon) // ->description(fn ($record) => $record->competition_group->name) // ->wrap(), TextColumn::make('competition_group.name')->searchable()->wrap()->size(TextSize::ExtraSmall)->label('League'), TextColumn::make('home.name')->searchable()->alignRight()->size(TextSize::ExtraSmall), TextColumn::make('away.name')->searchable()->size(TextSize::ExtraSmall), ]) ->filters([ // ]) ->headerActions([ // ]) ->recordActions([ // ]) ->toolbarActions([ BulkActionGroup::make([ // ]), ]); } public function render(): View { return view('livewire.mapper-events'); } }