ywana-core8 0.0.376 → 0.0.377
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.cjs
CHANGED
@@ -3463,12 +3463,14 @@ var View = function View(props) {
|
|
3463
3463
|
*/
|
3464
3464
|
|
3465
3465
|
var UploadDialog = function UploadDialog(_ref) {
|
3466
|
-
var
|
3466
|
+
var className = _ref.className,
|
3467
|
+
label = _ref.label,
|
3467
3468
|
target = _ref.target,
|
3468
3469
|
accept = _ref.accept,
|
3469
3470
|
onSuccess = _ref.onSuccess,
|
3470
3471
|
onComplete = _ref.onComplete,
|
3471
|
-
onClose = _ref.onClose
|
3472
|
+
onClose = _ref.onClose,
|
3473
|
+
children = _ref.children;
|
3472
3474
|
var site = React.useContext(SiteContext);
|
3473
3475
|
|
3474
3476
|
function success(file, message) {
|
@@ -3496,6 +3498,7 @@ var UploadDialog = function UploadDialog(_ref) {
|
|
3496
3498
|
use: "headline6"
|
3497
3499
|
}, label);
|
3498
3500
|
return /*#__PURE__*/React__default["default"].createElement(Dialog, {
|
3501
|
+
className: className,
|
3499
3502
|
title: title,
|
3500
3503
|
open: true,
|
3501
3504
|
onAction: onAction,
|
@@ -3507,7 +3510,7 @@ var UploadDialog = function UploadDialog(_ref) {
|
|
3507
3510
|
target: target,
|
3508
3511
|
onSuccess: success,
|
3509
3512
|
onComplete: complete
|
3510
|
-
}));
|
3513
|
+
}), children);
|
3511
3514
|
};
|
3512
3515
|
|
3513
3516
|
/**
|