Adding an icon to the View option in a RelationManager tab

I'm using the hasCombinedRelationManagerTabsWithContent() method to add tabs to my resource ViewRecord, but I can't manage to add an icon to the View tab :(

For the relation icons I did using the icon property.

public static function getRelations(): array
    {
        return [
            //
            RelationGroup::make('Consultas', [
                RelationManagers\ConsultasRelationManager::class,
            ])->icon('heroicon-o-rectangle-stack'),
            RelationGroup::make('Orcamentos', [
                RelationManagers\OrcamentosRelationManager::class,
            ])->icon('heroicon-o-currency-dollar'),
        ];
    }
Screenshot_2024-03-30_at_20.29.34.png
Screenshot_2024-03-30_at_20.30.34.png
Was this page helpful?