columns([ TextColumn::make('name') ->searchable() ->sortable() ->formatStateUsing(fn ($state, $record) => sprintf( '%s', $record->color ?: '#6b7280', e($state) )) ->html(), TextColumn::make('slug') ->searchable(), TextColumn::make('color') ->label('Color') ->formatStateUsing(fn ($state) => sprintf( '', $state ?: '#6b7280', $state )) ->html(), IconColumn::make('is_active') ->boolean() ->label('Active'), TextColumn::make('feedbacks_count') ->counts('feedbacks') ->label('Feedbacks'), TextColumn::make('created_at') ->dateTime() ->sortable() ->toggleable(), ]) ->filters([ // ]) ->recordActions([ EditAction::make(), ]) ->toolbarActions([ BulkActionGroup::make([ DeleteBulkAction::make(), ]), ]); } }