//declaring arrow function
hello = () => {
return "hello world";
}
import React from 'react'
const buttons = () => {
return (
<div>
</div>
)
}
export default buttons
import React from 'react'
const HomePage = () => {
return (
<div>HomePage</div>
)
}
export default HomePage
const App = () => {
return (
<div>
<h1>List of Courses</h1>
<hr />
<CoursesList courses={courses} />
</div>
);
}