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.modern.js
CHANGED
@@ -3455,12 +3455,14 @@ var View = function View(props) {
|
|
3455
3455
|
*/
|
3456
3456
|
|
3457
3457
|
var UploadDialog = function UploadDialog(_ref) {
|
3458
|
-
var
|
3458
|
+
var className = _ref.className,
|
3459
|
+
label = _ref.label,
|
3459
3460
|
target = _ref.target,
|
3460
3461
|
accept = _ref.accept,
|
3461
3462
|
onSuccess = _ref.onSuccess,
|
3462
3463
|
onComplete = _ref.onComplete,
|
3463
|
-
onClose = _ref.onClose
|
3464
|
+
onClose = _ref.onClose,
|
3465
|
+
children = _ref.children;
|
3464
3466
|
var site = useContext(SiteContext);
|
3465
3467
|
|
3466
3468
|
function success(file, message) {
|
@@ -3488,6 +3490,7 @@ var UploadDialog = function UploadDialog(_ref) {
|
|
3488
3490
|
use: "headline6"
|
3489
3491
|
}, label);
|
3490
3492
|
return /*#__PURE__*/React.createElement(Dialog, {
|
3493
|
+
className: className,
|
3491
3494
|
title: title,
|
3492
3495
|
open: true,
|
3493
3496
|
onAction: onAction,
|
@@ -3499,7 +3502,7 @@ var UploadDialog = function UploadDialog(_ref) {
|
|
3499
3502
|
target: target,
|
3500
3503
|
onSuccess: success,
|
3501
3504
|
onComplete: complete
|
3502
|
-
}));
|
3505
|
+
}), children);
|
3503
3506
|
};
|
3504
3507
|
|
3505
3508
|
/**
|