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