export function RecoveryWarning() {
return (
⚠️ Important
Ces 4 mots-clés sont votre seule façon de récupérer votre compte.
Ils ne seront jamais affichés à nouveau.
Notez-les dans un endroit sûr. Sans ces mots-clés, vous perdrez définitivement l'accès à votre compte.
)
}
export function RecoveryPhraseDisplay({
recoveryPhrase,
copied,
onCopy,
}: {
recoveryPhrase: string[]
copied: boolean
onCopy: () => void
}) {
return (
{recoveryPhrase.map((word, index) => (
{index + 1}.
{word}
))}
)
}
export function PublicKeyDisplay({ npub }: { npub: string }) {
return (
Votre clé publique (npub)
{npub}
)
}
export function ImportKeyForm({
importKey,
setImportKey,
error,
}: {
importKey: string
setImportKey: (key: string) => void
error: string | null
}) {
return (
<>
{error && {error}
}
>
)
}
export function ImportStepButtons({ loading, onImport, onBack }: { loading: boolean; onImport: () => void; onBack: () => void }) {
return (
)
}
export function ChooseStepButtons({
loading,
onGenerate,
onImport,
onClose,
}: {
loading: boolean
onGenerate: () => void
onImport: () => void
onClose: () => void
}) {
return (
)
}