Reactでタイトルのエラーが発生
styleを{{}}で囲うで対処しました
1 | <h4 style={ { border: 'none' } }></h4> |
参考記事
React inline style – style prop expects a mapping from style properties to values, not a string
Reactでタイトルのエラーが発生
styleを{{}}で囲うで対処しました
1 | <h4 style={ { border: 'none' } }></h4> |
React inline style – style prop expects a mapping from style properties to values, not a string