📅  最后修改于: 2022-03-11 15:02:32.905000             🧑  作者: Mango
代码示例1
render() {
const isLoggedIn = this.state.isLoggedIn;
return (
The user is {isLoggedIn ? 'currently' : 'not'} logged in.
);
}