import "./index.scss";

import clsx from "clsx";
import { forwardRef } from "react";

export type ProgressBarProps = React.HTMLProps<HTMLProgressElement>;

export const ProgressBar = forwardRef<HTMLProgressElement, ProgressBarProps>(function ProgressBar(
	{ className, ...props }: ProgressBarProps,
	ref,
) {
	return <progress className={clsx("ObProgressBar-root", className)} {...props} ref={ref} />;
});
