import { Loader2, CheckCircle, XCircle } from "lucide-react";
export type TaskStatus = "idle" | "pending" | "success" | "error";
interface Props {
status: TaskStatus;
message: string;
show: boolean;
onClear: () => void;
}
export const SeleniumTaskBanner = ({
status,
message,
show,
onClear,
}: Props) => {
if (!show) return null;
const getIcon = () => {
switch (status) {
case "pending":
return
{message}