17 lines
506 B
TypeScript
17 lines
506 B
TypeScript
import { YOUTUBE_UPLOAD_LIMIT_USER_MESSAGE } from "@/lib/youtube/errors";
|
|
|
|
type Props = {
|
|
className?: string;
|
|
};
|
|
|
|
export function YouTubeLimitBanner({ className = "" }: Props) {
|
|
return (
|
|
<div
|
|
className={`rounded border border-amber-500/40 bg-amber-500/10 px-4 py-3 text-sm text-amber-100 ${className}`}
|
|
>
|
|
<p className="font-medium text-amber-200">YouTube upload limit reached</p>
|
|
<p className="mt-1 text-amber-100/90">{YOUTUBE_UPLOAD_LIMIT_USER_MESSAGE}</p>
|
|
</div>
|
|
);
|
|
}
|