22 lines
478 B
TypeScript
22 lines
478 B
TypeScript
import type { ThemedProgressProps } from "$/types/ProgressTypes";
|
|
import { forwardRef } from "react";
|
|
import Progress from "./Progress";
|
|
|
|
|
|
const SecondaryProgress = forwardRef<HTMLDivElement, ThemedProgressProps>(({
|
|
...props
|
|
}, ref ) => {
|
|
return (
|
|
<Progress
|
|
backgroundColor="var(--color-gray-300)"
|
|
progressColor="var(--color-neutral-500)"
|
|
ref={ref}
|
|
{...props}
|
|
/>
|
|
);
|
|
});
|
|
|
|
SecondaryProgress.displayName = "SecondaryProgress";
|
|
|
|
export default SecondaryProgress;
|