feat: Integrate new dashboard design and components, remove old dashboard routes, and update dependencies.
This commit is contained in:
23
src/components/ui/progress.tsx
Normal file
23
src/components/ui/progress.tsx
Normal file
@@ -0,0 +1,23 @@
|
||||
import {
|
||||
Progress as MantineProgress,
|
||||
type ProgressProps as MantineProgressProps,
|
||||
} from "@mantine/core";
|
||||
import { cn } from "./utils";
|
||||
|
||||
interface ProgressProps extends MantineProgressProps {
|
||||
max?: number;
|
||||
}
|
||||
|
||||
const Progress = ({ className, value, max, ...props }: ProgressProps) => {
|
||||
return (
|
||||
<MantineProgress
|
||||
value={value}
|
||||
max={max as any}
|
||||
className={cn(className)}
|
||||
color="blue" // Placeholder, should align with primary color
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
export { Progress };
|
||||
Reference in New Issue
Block a user