import Course from "./components/Course";

const App = () => {
  const course = {
    name: "Half Stack application development",
    sections: [
      {
        part: "Fundamentals of React",
        exerciseCount: 10,
      },
      {
        part: "Using props to pass data",
        exerciseCount: 7,
      },
      {
        part: "State of a component",
        exerciseCount: 14,
      },
      {
        part: "An extra part I added just like that",
        exerciseCount: 3,
      },
    ],
  };

  return (
    <>
    <Course course={course}/>
    </>
  );
};

export default App;
