Download src/components/features/settings/settings-navigation.tsx from SaylorTwift/openhands: direct link, hf CLI and curl.
- Browser
- Download file 573 Bytes
-
https://huggingface.co/SaylorTwift/openhands/resolve/main/src/components/features/settings/settings-navigation.tsx
- Command line
-
hf download hf://SaylorTwift/openhands/src/components/features/settings/settings-navigation.tsx
-
curl -L -o settings-navigation.tsx https://huggingface.co/SaylorTwift/openhands/resolve/main/src/components/features/settings/settings-navigation.tsx
573 Bytes
| import { SettingsNavRenderedItem } from "#/hooks/use-settings-nav-items"; | |
| import { SettingsDesktopSidebar } from "./settings-desktop-sidebar"; | |
| import { SettingsMobileDrawer } from "./settings-mobile-drawer"; | |
| interface SettingsNavigationProps { | |
| isMobileMenuOpen: boolean; | |
| onCloseMobileMenu: () => void; | |
| navigationItems: SettingsNavRenderedItem[]; | |
| } | |
| export function SettingsNavigation(props: SettingsNavigationProps) { | |
| return ( | |
| <> | |
| <SettingsDesktopSidebar navigationItems={props.navigationItems} /> | |
| <SettingsMobileDrawer {...props} /> | |
| </> | |
| ); | |
| } | |