'use client';
import { APP_COLORS } from '@/styling/colors';
interface LoaderProps {
/** Scale of the loader from 1 to 10. */
scale?: number;
/** Show a circular loader. */
circular?: boolean;
}
const animateRotation = (duration: string) => {
return (
);
};
const animatePulse = (startBig: boolean, duration: string) => {
return (
<>
>
);
};
/**
* Displays animated loader.
*/
export function Loader({ scale = 5, circular }: LoaderProps) {
if (circular) {
return (
);
} else {
return (
);
}
}