Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jsx tag with children react js

const element = (
  <div>
    <h1>Hello!</h1>
    <h2>Good to see you here.</h2>
  </div>
);
Source by reactjs.org #
 
PREVIOUS NEXT
Tagged: #jsx #tag #children #react #js
ADD COMMENT
Topic
Name
4+1 =