mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Skeleton Component
This commit is contained in:
@@ -1,16 +1,4 @@
|
||||
@keyframes blink {
|
||||
0% {
|
||||
opacity: 0.2;
|
||||
}
|
||||
20% {
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
opacity: 0.2;
|
||||
}
|
||||
}
|
||||
|
||||
.loading {
|
||||
.root {
|
||||
@apply inline-flex text-center items-center leading-7;
|
||||
|
||||
& span {
|
||||
@@ -30,3 +18,15 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
0% {
|
||||
opacity: 0.2;
|
||||
}
|
||||
20% {
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
opacity: 0.2;
|
||||
}
|
||||
}
|
||||
|
@@ -2,7 +2,7 @@ import s from './LoadingDots.module.css'
|
||||
|
||||
const LoadingDots: React.FC = () => {
|
||||
return (
|
||||
<span className={s.loading}>
|
||||
<span className={s.root}>
|
||||
<span />
|
||||
<span />
|
||||
<span />
|
||||
|
Reference in New Issue
Block a user