+ {t("dialog.close")}
+
+ ]
+ : [ // Import screen
+ // "Import from file" button for import screen
+
+
+
+
+
,
+
+ // "Cancel" button for import screen
+ ,
+
+ // "Import" button for import screen
+
+ ]}
>
-
+ )
+ : (
+ // No results - show the import form
+
- {/* Import lead */}
- {t("import.description")}
-
- {/* Detected format information */}
-
-
- {/* Password input */}
-
- {getMasterPasswordInput({
- placeholder: t("import.masterPasswordPlaceholder"),
- autoFocus: true
- })}
-
-
-
- {/* Code textarea */}
-
-
-
-
+ )}
;
}
+
+interface FormProps {
+ form: FormInstance