"use client"; import { useId } from "react"; import { TopProgressBar } from "./animations/TopProgressBar"; interface SectionLoadingProps { message: string; dark?: boolean; skeletons?: number; } export function SectionLoading({ message, dark = false, skeletons = 2, }: Readonly) { const sectionClass = dark ? "ds-section ds-section-dark" : "ds-section"; const skeletonId = useId(); const skeletonKeys = Array.from( { length: skeletons }, (_, index) => `${skeletonId}-${index}`, ); return (
{message}
); }