{조건 && <JSX>}
function Header({ isLoggedIn }) { return ( <header> <h1>내 사이트</h1> {isLoggedIn && <button>로그아웃</button>} </header> ); }