From 28afa0fbe6f036c2ca5516c6c39f34847e5125f5 Mon Sep 17 00:00:00 2001 From: Sumanth U <157620444+Sumanth077s@users.noreply.github.com> Date: Mon, 2 Dec 2024 16:55:51 +0530 Subject: [PATCH] Update Loading.js --- 23-quiz/setup/src/Loading.js | 5 +++++ 1 file changed, 5 insertions(+) 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