diff --git a/23-quiz/setup/src/Loading.js b/23-quiz/setup/src/Loading.js index 2aa5cffdd..da193bfff 100644 --- a/23-quiz/setup/src/Loading.js +++ b/23-quiz/setup/src/Loading.js @@ -1,11 +1,16 @@ +// Importing the React library to create and manage the component import React from 'react' +// Defining the Loading functional component const Loading = () => { return ( + // Main container for the loading component
+ {/* Div with a className 'loading', typically styled to display a loading animation */}
) } +// Exporting the Loading component for use in other parts of the application export default Loading