formations/developpement/intro_javascript/ressources/react-demo/components/hello-world.js

18 lines
248 B
JavaScript
Raw Permalink Normal View History

import React from 'react'
class HelloWorld extends React.Component {
render() {
return (
<div className='hello-world'>
<h1>Hello World</h1>
<p>Welcome to React</p>
</div>
)
}
}
export default HelloWorld