mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
b1989bae1b
* dev: implement layout skeleton loader and helper function * chore: implemented layout loader * chore: settings loader added * chore: cycle, module, view, pages, notification and projects loader added * chore: kanban loader improvement * chore: loader utils updated
13 lines
483 B
TypeScript
13 lines
483 B
TypeScript
import { getRandomLength } from "../utils";
|
|
|
|
export const ActivitySettingsLoader = () => (
|
|
<div className="flex flex-col gap-3 animate-pulse">
|
|
{[...Array(10)].map(() => (
|
|
<div className="relative flex items-center gap-2 h-12 border-b border-custom-border-200">
|
|
<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>
|
|
);
|