<div style={{ display: 'block' }}></div> <div style={{ display: true?'block':'none' }}></div> <div style={{ display: true?'block':'none', color: aaaaa, background: 'red' }}></div>
<div className="example1 example2"></div> <div className={true?'example1':''}></div> <div className={`${true?'example1':''} ${true?'example2':''} example3`}></div>