A simple React function component

This is a simple react function component

import React from 'react'
import ReactDOM from 'react-dom'

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

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