Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
189 views
in Technique[技术] by (71.8m points)

javascript - How to display variable with Bulma style guide in React?

The following code does not give any effect in my React application:

  const headingText = <p class="subtitle is-3">`${taskList.length}tasks remaining`</p>; 

The earlier version was without Bulma Framework and it worked.

  const headingText = `${taskList.length}tasks remaining`;     

question from:https://stackoverflow.com/questions/65830056/how-to-display-variable-with-bulma-style-guide-in-react

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...