A simple React function component

cont HelloMessage = function({name})
render() {
return <div>Hello {name}</div>
}
}

ReactDOM.render(
<HelloMessage name="Taylor" />,
document.getElementById('hello-example'),
)