import React from "react"; import Skeleton, { SkeletonTheme } from "react-loading-skeleton"; import "react-loading-skeleton/dist/skeleton.css"; interface StopItemSkeletonProps { showId?: boolean; stopId?: string; } const StopItemSkeleton: React.FC = ({ showId = false, stopId, }) => { return (
  • {showId && stopId && <>({stopId}) }
  • ); }; export default StopItemSkeleton;