Ghost
New
flaxo
/
ghost
public
forked from
ghost/ghost
Source code of Ghost - On Ghost
Star
0
Fork
0
Code
Issues
0
Pull requests
0
78521fe
34
branches
Go to file
t
Code
ghost
apps
web
src
components
ui
spinner.tsx
you can now star repos
ba5217d
a month ago
16 lines · 351 B
1
import
{
cn
}
from
"
cn
"
;
2
import
{
Loader2Icon
}
3
4
function
Spinner
(
{
className
5
return
(
6
<
Loader2Icon
7
data-slot
=
"
spinner
"
8
role
=
"
status
"
9
aria-label
=
"
Loading
"
10
className
=
{
cn
(
"
11
{
...
props
}
12
/>
13
)
;
14
}
15
16
export
{
Spinner
}
;
from
"
lucide-react
"
;
,
...
props
}
:
React
.
ComponentProps
<
"
svg
"
>
)
{
size-4 animate-spin
"
,
className
)
}