ui-kit-ck-consultant 0.5.244 → 0.5.245
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/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +12 -0
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -3370,6 +3370,18 @@ var DropzoneMultiple = /*#__PURE__*/function (_React$Component) {
|
|
3370
3370
|
});
|
3371
3371
|
};
|
3372
3372
|
|
3373
|
+
_this.addFiles = function (files) {
|
3374
|
+
var tmpFiles = files;
|
3375
|
+
|
3376
|
+
_this.setState({
|
3377
|
+
files: tmpFiles
|
3378
|
+
}, function () {
|
3379
|
+
if (_this.props.onDrop) {
|
3380
|
+
_this.props.onDrop(_this.state.files);
|
3381
|
+
}
|
3382
|
+
});
|
3383
|
+
};
|
3384
|
+
|
3373
3385
|
_this.checkExtension = function (extension) {
|
3374
3386
|
if (!_this.props.extensions || _this.props.extensions.includes(extension)) {
|
3375
3387
|
return true;
|