quivr/frontend/lib/components/ui/Spinner.tsx

13 lines
289 B
TypeScript
Raw Normal View History

import { FaSpinner } from "react-icons/fa";
import { cn } from "@/lib/utils";
type SpinnerProps = {
className?: string;
};
const Spinner = ({ className }: SpinnerProps): JSX.Element => {
return <FaSpinner className={cn("animate-spin m-5", className)} />;
};
export default Spinner;