import { blackA } from '@radix-ui/colors';
import { Flex, Spinner, Text } from '@radix-ui/themes';
import { theme } from '../stitches.config';
const NAV_HEIGHT = 52.65;
interface LoaderProps {
naked?: boolean;
progress?: number;
}
export function Loader({ naked, progress }: LoaderProps) {
const animation = (
{progress !== undefined && (
{Math.round(progress * 100)}%
)}
);
if (naked) return animation;
return (
{animation}
);
}