import Button from "../../Button"; import AuthIcon from "../../icons/AuthIcon"; interface AuthProps { isAuth: boolean; userName: string; } const AuthMobile = ({ isAuth, userName }: AuthProps) => { return ( <> {isAuth ? (

{userName}

{/* avatar */}
) : (
)} ); }; export default AuthMobile;