2024-02-13 13:42:10 +00:00
|
|
|
import { getRandomLength } from "../utils";
|
|
|
|
|
|
|
|
export const ActivitySettingsLoader = () => (
|
|
|
|
<div className="flex flex-col gap-3 animate-pulse">
|
2024-03-06 13:09:14 +00:00
|
|
|
{[...Array(10)].map((i) => (
|
|
|
|
<div key={i} className="relative flex items-center gap-2 h-12 border-b border-custom-border-200">
|
2024-02-13 13:42:10 +00:00
|
|
|
<span className="h-6 w-6 bg-custom-background-80 rounded" />
|
|
|
|
<span className={`h-6 w-${getRandomLength(["52", "72", "96"])} bg-custom-background-80 rounded`} />
|
|
|
|
</div>
|
|
|
|
))}
|
|
|
|
</div>
|
|
|
|
);
|