Function: default()¶
default(
props):Element
Defined in: src/components/navigation/NestedNavLink.tsx:103
Recursive Navigation Link Item
Renders a navigation link that: - Highlights when active (exact match) - Highlights when parent of active route - Expands to show children when active path matches - Supports unlimited nesting levels with visual indentation
Child items are: - Indented by 1.5rem per level (plus 2.5rem when icons are shown) - Font size reduced by 12.5% (0.875 multiplier) - Aligned with parent text (accounts for icon space)
Parameters¶
props¶
Props
Component props
Returns¶
Element
Navigation link with optional nested children