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 LightProgress = forwardRef<HTMLDivElement, ThemedProgressProps>(({
|
||||
export default function LightProgress({
|
||||
...props
|
||||
}, ref ) => {
|
||||
}: Readonly<ThemedProgressProps>){
|
||||
return (
|
||||
<Progress
|
||||
backgroundColor="var(--color-dark)"
|
||||
progressColor="var(--color-light)"
|
||||
{...props}
|
||||
ref={ref}
|
||||
/>
|
||||
);
|
||||
});
|
||||
|
||||
LightProgress.displayName = "LightProgress";
|
||||
|
||||
export default LightProgress;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user