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
19 lines
772 B
TypeScript
19 lines
772 B
TypeScript
export const ViewListLoader = () => (
|
|
<div className="flex h-full w-full flex-col animate-pulse">
|
|
{[...Array(8)].map(() => (
|
|
<div className="group border-b border-custom-border-200">
|
|
<div className="relative flex w-full items-center justify-between rounded p-4">
|
|
<div className="flex items-center gap-4">
|
|
<span className="min-h-10 min-w-10 bg-custom-background-80 rounded" />
|
|
<span className="h-6 w-28 bg-custom-background-80 rounded" />
|
|
</div>
|
|
<div className="flex items-center gap-2">
|
|
<span className="h-5 w-5 bg-custom-background-80 rounded" />
|
|
<span className="h-5 w-5 bg-custom-background-80 rounded" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
))}
|
|
</div>
|
|
);
|