From 034dfffb85d112a382040dbafcc38ddf5cd90e6b Mon Sep 17 00:00:00 2001 From: GURSAL PRATHAMESH APPASAHEB <135983263+prathamesh424@users.noreply.github.com> Date: Fri, 4 Oct 2024 23:47:37 +0530 Subject: [PATCH] added the skeleton loader reusable component --- frontend/src/utils/loader.tsx | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/frontend/src/utils/loader.tsx b/frontend/src/utils/loader.tsx index 29e7c34e..0d579f85 100644 --- a/frontend/src/utils/loader.tsx +++ b/frontend/src/utils/loader.tsx @@ -1,15 +1,22 @@ import React from 'react'; -const Loader: React.FC = () => { +const SkeletonLoader = ({ count = 1 }) => { return ( -