import React from "react"; import Skeleton, { SkeletonTheme } from "react-loading-skeleton"; import "react-loading-skeleton/dist/skeleton.css"; import { useTranslation } from "react-i18next"; interface StopSheetSkeletonProps { rows?: number; } export const StopSheetSkeleton: React.FC = ({ rows = 4, }) => { const { t } = useTranslation(); return (

{t("estimates.next_arrivals", "Next arrivals")}

{Array.from({ length: rows }, (_, index) => (
))}
); };