ywana-core8 0.0.376 → 0.0.379
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.umd.js
CHANGED
@@ -3458,12 +3458,14 @@
|
|
3458
3458
|
*/
|
3459
3459
|
|
3460
3460
|
var UploadDialog = function UploadDialog(_ref) {
|
3461
|
-
var
|
3461
|
+
var className = _ref.className,
|
3462
|
+
label = _ref.label,
|
3462
3463
|
target = _ref.target,
|
3463
3464
|
accept = _ref.accept,
|
3464
3465
|
onSuccess = _ref.onSuccess,
|
3465
3466
|
onComplete = _ref.onComplete,
|
3466
|
-
onClose = _ref.onClose
|
3467
|
+
onClose = _ref.onClose,
|
3468
|
+
children = _ref.children;
|
3467
3469
|
var site = React.useContext(SiteContext);
|
3468
3470
|
|
3469
3471
|
function success(file, message) {
|
@@ -3491,6 +3493,7 @@
|
|
3491
3493
|
use: "headline6"
|
3492
3494
|
}, label);
|
3493
3495
|
return /*#__PURE__*/React__default["default"].createElement(Dialog, {
|
3496
|
+
className: className,
|
3494
3497
|
title: title,
|
3495
3498
|
open: true,
|
3496
3499
|
onAction: onAction,
|
@@ -3502,7 +3505,7 @@
|
|
3502
3505
|
target: target,
|
3503
3506
|
onSuccess: success,
|
3504
3507
|
onComplete: complete
|
3505
|
-
}));
|
3508
|
+
}), children);
|
3506
3509
|
};
|
3507
3510
|
|
3508
3511
|
/**
|