move sdk packages to its own folder and rename api & dashboard
This commit is contained in:
15
apps/dashboard/src/components/report/chart/ChartLoading.tsx
Normal file
15
apps/dashboard/src/components/report/chart/ChartLoading.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import { cn } from '@/utils/cn';
|
||||
|
||||
interface ChartLoadingProps {
|
||||
className?: string;
|
||||
}
|
||||
export function ChartLoading({ className }: ChartLoadingProps) {
|
||||
return (
|
||||
<div
|
||||
className={cn(
|
||||
'aspect-video w-full bg-slate-200 animate-pulse rounded max-h-[300px] min-h-[200px]',
|
||||
className
|
||||
)}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user