import { Tooltip } from '@gear-js/ui'; import { useState } from 'react'; import { CSSTransition } from 'react-transition-group'; import clsx from 'clsx'; import { NodesSwitch } from '@/features/nodesSwitch'; import MenuButtonSVG from '@/shared/assets/images/menu/menuButton.svg?react'; import GithubLogoSVG from '@/shared/assets/images/menu/github.svg?react'; import { AnimationTimeout } from '@/shared/config'; import { useNodeVersion } from '@/hooks'; import styles from './Menu.module.scss'; import { Logo } from './logo'; import { Navigation } from './navigation'; const Menu = () => { const [isOpen, setIsOpen] = useState(true); const toggleMenu = () => setIsOpen((prevState) => !prevState); const { nodeVersion, commitHash } = useNodeVersion(); return (
); }; export { Menu };