siam-ui-utils 2.0.14 → 2.0.15

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,6 @@
1
1
  {
2
2
  "name": "siam-ui-utils",
3
- "version": "2.0.14",
3
+ "version": "2.0.15",
4
4
  "keywords": [
5
5
  "ampf-react",
6
6
  "ampf-utils",
@@ -15,7 +15,7 @@ export const DropzoneUploader = ({
15
15
  accept = 'image/*, application/pdf',
16
16
  capture = null,
17
17
  nameFileLabel = 'Subir archivos',
18
- className=""
18
+ classNames=""
19
19
  }) => {
20
20
  const [files, setFiles] = useState([])
21
21
  const [totalFilesDU, setTotalFilesDU] = useState(totalFiles)
@@ -128,7 +128,7 @@ export const DropzoneUploader = ({
128
128
  maxSize={maxSize} // en megas
129
129
  InputComponent={Input}
130
130
  PreviewComponent={CustomPreview}
131
- classNames={{ dropzone: `dropzone-upload-frame ${className}`}}
131
+ classNames={{ dropzone: `dropzone-upload-frame ${classNames}`}}
132
132
  onChangeStatus={handleChangeStatus}
133
133
  getFilesFromEvent={getFilesFromEvent}
134
134
  accept={accept}