siam-ui-utils 2.0.22 → 2.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
/* eslint-disable react/prop-types */import { useState } from 'react'
|
|
2
|
-
|
|
3
|
-
import { Button } from 'reactstrap'
|
|
1
|
+
/* eslint-disable react/prop-types */ import { useState } from 'react'import { Button } from 'reactstrap'
|
|
4
2
|
|
|
5
3
|
import { getDroppedOrSelectedFiles } from 'html5-file-selector'
|
|
6
4
|
import Dropzone from 'react-dropzone-uploader'
|
|
@@ -104,7 +102,7 @@ export const DropzoneUploaderDniDigital = ({
|
|
|
104
102
|
}
|
|
105
103
|
|
|
106
104
|
const Input = ({ accept, onFiles, getFilesFromEvent }) => {
|
|
107
|
-
const text = totalFiles > 0 ? `${2 - totalFiles} archivos más` : {
|
|
105
|
+
const text = totalFiles > 0 ? `${2 - totalFiles} archivos más` : `${label}`
|
|
108
106
|
return (
|
|
109
107
|
<>
|
|
110
108
|
<Button
|