'use client' import React, { FC, ReactNode, useState } from 'react'; import { HeaderAuthLinks } from './HeaderAuthLinks'; type HeaderMenuMobileProps = { children: ReactNode; enterTitle: string; registerTitle: string; }; export const HeaderMobileMenu: FC = ({ children, enterTitle, registerTitle }) => { const [showMobileMenu, setShowMobileMenu] = useState(false); return ( <>
setShowMobileMenu(!showMobileMenu)}>
{showMobileMenu ? (
    {children}
) : null} ); };