import { getProviderLogo } from "@/components/shadcn/entities/get-provider-logo"; import { ProviderType } from "@/types"; import { ConnectionFalse, ConnectionPending, ConnectionTrue, } from "../../../icons"; interface ProviderConnectionInfoProps { connected: boolean | null; provider: ProviderType; providerAlias: string; providerUID?: string; } export const ProviderConnectionInfo = ({ connected, provider, providerAlias, providerUID, }: ProviderConnectionInfoProps) => { const getIcon = () => { switch (connected) { case true: return (