Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react functional component example

function Greeting(props) {
  
  return <h1> Hello, {props.name}! </h1>
  
}
Source by reactjs.org #
 
PREVIOUS NEXT
Tagged: #react #functional #component
ADD COMMENT
Topic
Name
2+6 =