+ {/* Bildausschnitt */}
+
+
+
+
+
+ {/* Wechselintervall */}
+
+
+
+
+
+ {/* Reihenfolge */}
+
+
+
+
+
+ {/* Bilder */}
+
+
{t('pictureFrame.imagesLabel')}
+ {images.length > 0 && (
+
+ )}
+
+ {/* Hochladen */}
+
+
+
+
{t('pictureFrame.uploadHint')}
+ {limitReached && (
+
+ {t('pictureFrame.limitReached')}
+
+ )}
+ {uploadError && (
+
+ {uploadError}
+
+ )}
+
+
+ {/* Webadresse */}
+
+
+ {
+ setUrlDraft(e.target.value);
+ setUrlError(false);
+ }}
+ onKeyDown={(e) => {
+ if (e.key === 'Enter') {
+ e.preventDefault();
+ handleAddUrl();
+ }
+ }}
+ disabled={limitReached}
+ aria-invalid={urlError || undefined}
+ className={fieldClassName}
+ />
+
+
+ {urlError && (
+
+ {t('pictureFrame.urlInvalid')}
+
+ )}
+
+
+
+ );
+}
+
+function ArrowIcon({ direction }: { direction: 'up' | 'down' }) {
+ return (
+