Updated progress bars
This commit is contained in:
@@ -1,21 +1,15 @@
|
||||
import type { ThemedProgressProps } from "$/types/ProgressTypes";
|
||||
import { forwardRef } from "react";
|
||||
import Progress from "./Progress";
|
||||
|
||||
|
||||
const WarningProgress = forwardRef<HTMLDivElement, ThemedProgressProps>(({
|
||||
export default function WarningProgress({
|
||||
...props
|
||||
}, ref ) => {
|
||||
}: Readonly<ThemedProgressProps>){
|
||||
return (
|
||||
<Progress
|
||||
backgroundColor="var(--color-neutral)"
|
||||
progressColor="var(--color-warning)"
|
||||
ref={ref}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
});
|
||||
|
||||
WarningProgress.displayName = "WarningProgress";
|
||||
|
||||
export default WarningProgress;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user