import LoadingBar from "./LoadingBar";
import Spinner from "./Spinner";
import ThinkingDots from "./ThinkingDots";

// Render different loading styles based on type
export default function LoadingIndicator({ type = "dots" }) {
  if (type === "dots") return <ThinkingDots />;
  if (type === "spinner") return <Spinner />;
  if (type === "bar") return <LoadingBar />;
  return null;
}
