import { EncryptedText } from '@/components/encrypted-text'; import { Button } from '@/components/ui/button'; import { Label } from '@/components/ui/label'; import { RadioGroup, RadioGroupItem } from '@/components/ui/radio-group'; import { type Account } from '@/types/account'; import type { UUID } from '@/types/uuid'; import { __ } from '@/utils/i18n'; import { Building2 } from 'lucide-react'; interface ImportBalanceStepAccountProps { accounts?: Account[]; selectedAccountId: UUID | null; onAccountSelect: (accountId: UUID) => void; onNext: () => void; } export function ImportBalanceStepAccount({ accounts = [], selectedAccountId, onAccountSelect, onNext, }: ImportBalanceStepAccountProps) { if (accounts.length === 0) { return (

{__('No accounts found. Please create an account first.')}

); } return (
onAccountSelect(value)} >
{accounts.map((account) => ( ))}
); }