Комментарии:
yes Possible Multiple conditional separeate varaible declartion import React, { useState } from "react";
const Multipleconditional = () => {
let [islogged, setLogged] = useState();
islogged = 2000
return <>{
islogged ===100 ? <h1>Hello Loggin </h1> :
islogged ===2000 ? <h1>Helo login again </h1> :
<p>logouta....</p>
}</>
};
export default Multipleconditional;
Thank You
ОтветитьThank u
Ответитьthank you so much
Ответить