2025-02-26 03:44:54 +00:00
|
|
|
import { cn } from "@/lib/utils";
|
|
|
|
|
|
|
|
interface ProblemDescriptionFooterProps {
|
2025-03-09 06:49:59 +00:00
|
|
|
title: string;
|
2025-02-26 03:44:54 +00:00
|
|
|
className?: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export default function ProblemDescriptionFooter({
|
2025-03-09 06:49:59 +00:00
|
|
|
title,
|
2025-02-26 03:44:54 +00:00
|
|
|
className,
|
|
|
|
...props
|
|
|
|
}: ProblemDescriptionFooterProps) {
|
|
|
|
return (
|
|
|
|
<footer
|
|
|
|
{...props}
|
2025-02-26 08:01:33 +00:00
|
|
|
className={cn("h-9 flex flex-none items-center bg-muted px-3 py-2", className)}
|
2025-02-26 03:44:54 +00:00
|
|
|
>
|
|
|
|
<div className="w-full flex items-center justify-center">
|
2025-04-17 01:31:04 +00:00
|
|
|
<span className="truncate">{title}</span>
|
2025-02-26 03:44:54 +00:00
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
);
|
|
|
|
}
|