@chlp-tech/rpa-ui 0.0.23 → 0.0.25
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.
|
@@ -15,6 +15,7 @@ interface CoverModalProps {
|
|
|
15
15
|
videoUrl: string;
|
|
16
16
|
handleUpload: (file: File) => Promise<string>;
|
|
17
17
|
children: React.ReactNode;
|
|
18
|
+
description?: string;
|
|
18
19
|
}
|
|
19
20
|
export interface ICoverModalV2Props {
|
|
20
21
|
open?: boolean;
|
|
@@ -24,6 +25,7 @@ export interface ICoverModalV2Props {
|
|
|
24
25
|
handleUpload: (file: File) => Promise<string>;
|
|
25
26
|
onClose?: () => void;
|
|
26
27
|
zIndex?: number;
|
|
28
|
+
description?: string;
|
|
27
29
|
onSubmit?: (key: 'selectCover' | 'uploadCover' | string, data: string | number) => void;
|
|
28
30
|
}
|
|
29
31
|
declare const CoverModal: FC<CoverModalProps>;
|
|
@@ -403,7 +403,8 @@ var CoverModal = function CoverModal(props) {
|
|
|
403
403
|
handleClose: handleClose,
|
|
404
404
|
handleSubmit: handleSubmit,
|
|
405
405
|
handleUpload: props.handleUpload,
|
|
406
|
-
defaultData: props.defaultData
|
|
406
|
+
defaultData: props.defaultData,
|
|
407
|
+
description: props.description
|
|
407
408
|
})), /*#__PURE__*/React.createElement("div", {
|
|
408
409
|
onClick: handleOpen
|
|
409
410
|
}, props.children));
|
|
@@ -470,7 +471,8 @@ export var CoverModalV2 = function CoverModalV2(props) {
|
|
|
470
471
|
},
|
|
471
472
|
handleSubmit: handleSubmit,
|
|
472
473
|
handleUpload: props.handleUpload,
|
|
473
|
-
defaultData: props.defaultData
|
|
474
|
+
defaultData: props.defaultData,
|
|
475
|
+
description: props.description
|
|
474
476
|
})));
|
|
475
477
|
};
|
|
476
478
|
export default CoverModal;
|