import { X } from 'lucide-react' export default function AddAccountModal({ show, t, newAccount, setNewAccount, loading, onClose, onAdd, }) { if (!show) { return null } return (

{t('accountManager.modalAddAccountTitle')}

setNewAccount({ ...newAccount, name: e.target.value })} />
setNewAccount({ ...newAccount, remark: e.target.value })} />
setNewAccount({ ...newAccount, email: e.target.value })} />
setNewAccount({ ...newAccount, mobile: e.target.value })} />
setNewAccount({ ...newAccount, password: e.target.value })} />
) }