Some checks failed
Tick / tick (push) Failing after 1s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
346 B
TypeScript
13 lines
346 B
TypeScript
import { Page } from "./ui";
|
|
|
|
/** Affiché pendant le chargement des données d'une page. */
|
|
export function PageSkeleton({ title }: { title: string }) {
|
|
return (
|
|
<Page title={title}>
|
|
{[0, 1, 2].map((i) => (
|
|
<div key={i} className="h-32 animate-pulse rounded-2xl border border-line bg-surface" />
|
|
))}
|
|
</Page>
|
|
);
|
|
}
|