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