Browse
For agents
About
Yatra – Travel Booking & Tour Operator Software
/
3.0.15
Yatra – Travel Booking & Tour Operator Software
v3.0.15
Switch version
3.0.15
3.0.14
3.0.14.1
3.0.14.2
3.0.12
3.0.13
3.0.11
3.0.10
3.0.9
3.0.8
3.0.7
3.0.6
3.0.5
3.0.5.1
3.0.4
3.0.3
3.0.2.9
3.0.2.7
3.0.2.8
3.0.2.6
trunk
1.0.0
2.0.0
2.0.1
2.0.10
All 83 releases
Overview
Code
yatra
/
resources
/
js
/
components
/
ui
/
skeleton.tsx
skeleton.tsx
in Yatra – Travel Booking & Tour Operator Software 3.0.15, at resources/js/components/ui/skeleton.tsx
21 lines
401 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
/**
2
* Skeleton Loading Component
3
* Displays animated placeholder content while data is loading
4
*/
5
6
import
React
from
"
react
"
;
7
8
interface
SkeletonProps
{
9
className
?
:
string
;
10
}
11
12
export
const
Skeleton
:
React
.
FC
<
SkeletonProps
>
=
(
{
className
=
"
"
}
)
=>
{
13
return
(
14
<
div
15
className
=
{
`
animate-pulse bg-gray-200 dark:bg-gray-700 rounded
${
className
}
`
}
16
/>
17
)
;
18
}
;
19
20
export
default
Skeleton
;
21