+ {uploadText.map((segment, i) => ( + + {segment.text} + + ))} +
+ ); + } + return{uploadText}
; + }; + + const defaultContent = ( +{dragActiveText}
+ ) : ( + renderUploadText() + )} ++ {fileTypeText} {maxSize / 1024 / 1024} + {sizeLimitText} +
++ {error} +
+ ))} +