import NamedIcon from '@/components/elements/NamedIcon'; import type { ExtensionScreenDefinition, ExtensionScreenRegistration } from './registry'; import { ScreenBadge } from './screenNavigation'; type Props = NonNullable & { /** Enables the screen's live badge. */ screen?: ExtensionScreenRegistration; }; export default function NavigationLabel({ label, group, badge, icon, screen }: Props) { return ( {icon && } {label} ); }