import { LoaderPinwheel, MessageSquare, UserPlus } from "lucide-react"; import { AccountList } from "./account-list"; import { type TelegramAccount } from "@/lib/types"; import TelegramIcon from "@/components/telegram-icon"; import { AccountDialog } from "@/components/account-dialog"; import React from "react"; import { Button } from "@/components/ui/button"; import { BorderBeam } from "@/components/ui/border-beam"; import ProxysDialog from "@/components/proxys-dialog"; interface EmptyStateProps { isLoadingAccount?: boolean; hasAccounts: boolean; accounts?: TelegramAccount[]; message?: string; onSelectAccount?: (accountId: string) => void; } export function EmptyState({ isLoadingAccount, hasAccounts, accounts = [], message, onSelectAccount, }: EmptyStateProps) { if (message) { return (
Choose a chat from the dropdown menu above to view and manage its files.
Choose a Telegram account to view and manage your files. You can add more accounts using the button below.
> ) : ( <>Add a Telegram account to start managing your files. You can add multiple accounts and switch between them.
> )}