Skip to content

Commit

Permalink
Fix missing class error
Browse files Browse the repository at this point in the history
  • Loading branch information
divya-jeevanantham committed Oct 19, 2024
1 parent 6ab8c1c commit de7e86e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/ui/progress.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ import * as ProgressPrimitive from "@radix-ui/react-progress"

import { cn } from "@/lib/utils"

interface ProgressProps extends React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root> {
indicatorClassName?: string;
}

const Progress = React.forwardRef<
React.ElementRef<typeof ProgressPrimitive.Root>,
React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>
ProgressProps
>(({ indicatorClassName, className, value, ...props }, ref) => (
<ProgressPrimitive.Root
ref={ref}
Expand Down

0 comments on commit de7e86e

Please sign in to comment.