diff --git a/packages/panels/docs/10-tenancy.md b/packages/panels/docs/10-tenancy.md index 68a8c441f3..6ff93499ae 100644 --- a/packages/panels/docs/10-tenancy.md +++ b/packages/panels/docs/10-tenancy.md @@ -342,7 +342,7 @@ public function panel(Panel $panel): Panel ->tenantMenuItems([ MenuItem::make() ->label('Settings') - ->url(fn (): string => Settings::getUrl()), + ->url(fn (): string => Settings::getUrl()) ->icon('heroicon-m-cog-8-tooth'), // ... ]); @@ -368,6 +368,25 @@ public function panel(Panel $panel): Panel } ``` +### Customizing the profile link + +To customize the profile link on the tenant menu, register a new item with the `profile` array key: + +```php +use Filament\Navigation\MenuItem; +use Filament\Panel; + +public function panel(Panel $panel): Panel +{ + return $panel + // ... + ->tenantMenuItems([ + 'profile' => MenuItem::make()->label('Edit team profile'), + // ... + ]); +} +``` + ### Customizing the billing link To customize the billing link on the tenant menu, register a new item with the `billing` array key: