how to render a function in a functional component react.js code example
Example: react function component
function Welcome(props) {
return Hello, {props.name}
;
}
function Welcome(props) {
return Hello, {props.name}
;
}