@base-stone/hooks 0.9.0 → 0.9.1

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.
@@ -25,11 +25,10 @@ declare type MapData<T extends string | number = string | number> = Map<T, strin
25
25
  declare interface ModalConfig<T = any> {
26
26
  width: number;
27
27
  title: string | ((data: T) => string);
28
- open: boolean;
29
- maskClosable: boolean;
30
- centered: boolean;
31
- destroyOnHidden: boolean;
32
- onCancel: () => void;
28
+ maskClosable?: boolean;
29
+ centered?: boolean;
30
+ destroyOnHidden?: boolean;
31
+ onCancel?: () => void;
33
32
  }
34
33
 
35
34
  declare type ModalInstance<T = any> = {
@@ -44,10 +43,11 @@ declare type ModalInstance<T = any> = {
44
43
  export declare interface ModalProps {
45
44
  width: number;
46
45
  title: string;
47
- maskClosable?: boolean;
48
- centered?: boolean;
49
- destroyOnHidden?: boolean;
50
- onCancel?: () => void;
46
+ open: boolean;
47
+ maskClosable: boolean;
48
+ centered: boolean;
49
+ destroyOnHidden: boolean;
50
+ onCancel: () => void;
51
51
  }
52
52
 
53
53
  export declare interface QueryParamsData {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@base-stone/hooks",
3
3
  "license": "MIT",
4
- "version": "0.9.0",
4
+ "version": "0.9.1",
5
5
  "author": {
6
6
  "name": "leafront",
7
7
  "email": "leafront@126.com"