Reactã®JSXã§ã¯ã©ã¹åãä»ããæã«å¤æ°ã¨åºå®å¤ãªæååãä¸ç·ã«ä½¿ãããã¨ã ã³ã¬ã¯ãã¾ããããªã return ( <button className="btn btn-${btnState}">BUTTON</button> ); æååçµåãã function Button() { const [btnState, setBtmState] = useState('primary'); return ( <button className={'btn btn-' + btnState}>BUTTON</button> ); } ãã³ãã¬ã¼ãæ§æ (ES2015)ã使ã function Button() { const [btnState, setBtmState] = useState('primary'); return ( <button className={`btn
{{#tags}}- {{label}}
{{/tags}}