Walk Create Community through the Figma screens and restore a chosen logo after reload, so a guest can leave without saving until they reach the email step.
This commit is contained in:
1 parent
ca1f58a50c
commit
2348a9e94f
61 files changed
+1110
-421
No files matched your search
@@ -18,12 +18,17 @@ const UploadContainer = memo<UploadProps>(
|
||||
label,
|
||||
showHelpIcon = true,
|
||||
hintText,
|
||||
buttonLabel,
|
||||
previewSrc,
|
||||
previewAlt,
|
||||
fileName,
|
||||
onClick,
|
||||
className = "",
|
||||
}) => {
|
||||
const t = useTranslation("controlsChrome");
|
||||
const resolvedState: UploadStateValue =
|
||||
state ?? (active ? "default" : "disabled");
|
||||
const uploadButtonLabel = buttonLabel ?? t("uploadButton");
|
||||
|
||||
return (
|
||||
<UploadView
|
||||
@@ -32,8 +37,11 @@ const UploadContainer = memo<UploadProps>(
|
||||
label={label}
|
||||
showHelpIcon={showHelpIcon}
|
||||
hintText={hintText ?? t("uploadHintDefault")}
|
||||
uploadButtonLabel={t("uploadButton")}
|
||||
uploadAriaLabel={t("uploadAriaLabel")}
|
||||
uploadButtonLabel={uploadButtonLabel}
|
||||
uploadAriaLabel={uploadButtonLabel}
|
||||
previewSrc={previewSrc}
|
||||
previewAlt={previewAlt ?? t("uploadAriaLabel")}
|
||||
fileName={fileName}
|
||||
onClick={onClick}
|
||||
className={className}
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user