"use client";
import { ExternalLink, Trash2, Plus, Loader2 } from "lucide-react";
interface PodcastActionBarProps {
isSubscribed: boolean;
feedUrl?: string;
colors: any;
isSubscribing: boolean;
showDeleteConfirm: boolean;
onSubscribe: () => void;
onRemove: () => void;
onShowDeleteConfirm: (show: boolean) => void;
}
export function PodcastActionBar({
isSubscribed,
feedUrl,
isSubscribing,
showDeleteConfirm,
onSubscribe,
onRemove,
onShowDeleteConfirm,
}: PodcastActionBarProps) {
return (
{/* Subscribe Button - Yellow primary action */}
{!isSubscribed && (
)}
{/* RSS Feed Link */}
{feedUrl && (
)}
{/* Spacer */}
{/* Remove Podcast Button */}
{isSubscribed && (
<>
{!showDeleteConfirm ? (
) : (
Remove podcast?
)}
>
)}
);
}