@arcblock/ux 2.10.27 → 2.10.28

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,8 +5,8 @@
5
5
  * title: React.ReactNode,
6
6
  * open: boolean,
7
7
  * children: React.ReactNode,
8
- * onConfirm: () => void | Promise<void>,
9
- * onCancel: () => void | Promise<void>,
8
+ * onConfirm: Function,
9
+ * onCancel: Function,
10
10
  * showCancelButton?: boolean,
11
11
  * showCloseButton?: boolean,
12
12
  * fullScreen?: boolean,
@@ -68,8 +68,8 @@ export type ConfirmProps = {
68
68
  title: React.ReactNode;
69
69
  open: boolean;
70
70
  children: React.ReactNode;
71
- onConfirm: () => void | Promise<void>;
72
- onCancel: () => void | Promise<void>;
71
+ onConfirm: Function;
72
+ onCancel: Function;
73
73
  showCancelButton?: boolean;
74
74
  showCloseButton?: boolean;
75
75
  fullScreen?: boolean;
@@ -11,8 +11,8 @@ import Dialog from './dialog';
11
11
  * title: React.ReactNode,
12
12
  * open: boolean,
13
13
  * children: React.ReactNode,
14
- * onConfirm: () => void | Promise<void>,
15
- * onCancel: () => void | Promise<void>,
14
+ * onConfirm: Function,
15
+ * onCancel: Function,
16
16
  * showCancelButton?: boolean,
17
17
  * showCloseButton?: boolean,
18
18
  * fullScreen?: boolean,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcblock/ux",
3
- "version": "2.10.27",
3
+ "version": "2.10.28",
4
4
  "description": "Common used react components for arcblock products",
5
5
  "keywords": [
6
6
  "react",
@@ -59,12 +59,12 @@
59
59
  "react": ">=18.2.0",
60
60
  "react-router-dom": ">=6.22.3"
61
61
  },
62
- "gitHead": "22f8b70a73928fc915274ee0f609e96f330b1d2e",
62
+ "gitHead": "71cb15e455bd2f3bdf906c14ae4ef87f9da9c271",
63
63
  "dependencies": {
64
64
  "@arcblock/did-motif": "^1.1.13",
65
- "@arcblock/icons": "^2.10.27",
66
- "@arcblock/nft-display": "^2.10.27",
67
- "@arcblock/react-hooks": "^2.10.27",
65
+ "@arcblock/icons": "^2.10.28",
66
+ "@arcblock/nft-display": "^2.10.28",
67
+ "@arcblock/react-hooks": "^2.10.28",
68
68
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
69
69
  "@fontsource/inter": "^5.0.16",
70
70
  "@fontsource/ubuntu-mono": "^5.0.18",
@@ -11,8 +11,8 @@ import Dialog from './dialog';
11
11
  * title: React.ReactNode,
12
12
  * open: boolean,
13
13
  * children: React.ReactNode,
14
- * onConfirm: () => void | Promise<void>,
15
- * onCancel: () => void | Promise<void>,
14
+ * onConfirm: Function,
15
+ * onCancel: Function,
16
16
  * showCancelButton?: boolean,
17
17
  * showCloseButton?: boolean,
18
18
  * fullScreen?: boolean,